A
A
Alexey2020-11-05 17:42:33
Mathematics
Alexey, 2020-11-05 17:42:33

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.
5fa40ec023c3f677852630.jpegI 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

1 answer(s)
A
Armenian Radio, 2020-11-05
@resolut1123

Since you have a C++ tag, just call sin() from the standard library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question