Write a program in Java that computes the trigonometric function sin(x) given by the
series
sin(x) = x – x3/3! + x5/5! – x7/7! + · · · .
The program should take as input a number from the command-line, and output the sine
value of that number.
series
sin(x) = x – x3/3! + x5/5! – x7/7! + · · · .
The program should take as input a number from the command-line, and output the sine
value of that number.