+ 8
sin(1) = 90
If I want to use in the Math.sin(1) = 90 Not 90 = 1 And in the cos or tan
3 Answers
+ 15
The trigonometric functions return the result in radians. If you want degrees, you have to convert it like this:
window.alert(Math.round(Math.asin(1)*57.2957795))
+ 9
You need something like Math.asin(1.0)*(180.0/Math.PI)
+ 5
Are you trying to convert radians to degrees?