‎2010 Feb 22 8:26 AM
Hi everybody,
I am using a Sin function in my program. It is not giving the exact result.
For example,
Sin 60 is 0.866025403. But it is giving me -0,304811.
For Sin 90 it is giving me 0,893997 which is actually 1.
Similarly 1,619775 for Tan 45.
What could be the reason?
Please help me in solving the issue.
Thanks.
Edited by: my name is already in use on Feb 22, 2010 1:57 PM
‎2010 Feb 22 8:31 AM
Hello
Sin and other trignometric functions works with radians, not with degrees.
Convert degrees to radians and try again.
‎2010 Feb 22 8:31 AM
Hello
Sin and other trignometric functions works with radians, not with degrees.
Convert degrees to radians and try again.