Question
cos, sin, tan, e^x, y^x, 1/x, sqrt(x), x! (use Stirling's approximation method)
2. Complete a program that issues a pay to an employee after the rate and the number of hours for the week have been entered. Make sure that the pay reflects 150% for overtime when the employee worked over 40 hours.
Solution Preview
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
import java.util.Scanner;public class EmployeePay {
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
double timeWorked, payRate, totalPay;...