Answer the question
In order to leave comments, you need to log in
What is the formula to find sin n degrees, where n = from 0 to 180 in increments of 10?
The task is to calculate sin(10,20,30,40,50...180) degrees.
I found such a formula, it only works up to 120 degrees, after which the values go wrong.
Is there another formula?
PS. for mathematicians-programmers
sinx = (pow(x * pi / 180, 5) / 120) - (pow(x * pi / 180, 3) / 6) + x * pi / 180;
Answer the question
In order to leave comments, you need to log in
Since you have a C++ tag, just call sin() from the standard library
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question