I am so confused and I thought that my program was spelled incorrectly, but now I understood where the problem is.
I get two different values for the cosine of a number.
For example, for this number 329.85
on the calculator I get 0.8647 .....
in my C # program, I get -0.99985159087810649 using this expression
double asnwer = Math.Cos(329.85);
Can someone explain what is happening? Or what am I doing wrong?
source
share