Overclock.net banner

1 - 4 of 4 Posts

·
Banned
Joined
·
2,226 Posts
Discussion Starter #1
in a program when i cout sin(30) it is -.98 and sin(3.14) is .00159<br>
so obviously sin() is neither in degrees or radians<br>
the include i used was math.h (thats right, right?)<br>
so *** do i do do get trig functions in radians OR degrees...basically what else do i need to do to get it working properly because sin of 30 degrees is .5 and of 3.14 radians is about 0<br>
and both tests (to determine how angles were measured) failed badly...so i dont understand what it could be in...
 

·
Premium Member
Joined
·
5,573 Posts
What is the Sin of 30 radians? Get it?
 

·
Banned
Joined
·
2,226 Posts
Discussion Starter #4
yeah i know that but the program calculation doesnt come out right....i think i posted it ehre somewhere else so i dont want to waste space repeating myself...
 
1 - 4 of 4 Posts
Top