You can compute sin x and cos x by using the following power series:
Write a program that evaluates sin x and cos x by using the power series. Use the double data type, and increase the number of terms in the series until the overflow occurs. You can check if the overflow occurs by comparing the value against Double. POSITIVE_INFINITY. Compare the results you obtain to the values returned by the sin and cos methods of the Math class.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.