Javascript Trigonometry Functions for degrees

by Francis 2013-03-19 14:44:34

Trigonometric function for Degree value
Degree value must be divide by 57.2957795130823 and call Math trigonometric functions.

Example :
var deg = 45; // degree value
var conv = 57.2957795130823; // Conversion value
Math.sin(deg / conv);
Result : 0.7071067811865477
1103
like
0
dislike
0
mail
flag

You must LOGIN to add comments