sin(var x): var
cos(var x): var
tan(var x): var
Trigonometry functions.
Parameters:
x
- angle in radians.
Returns:
Sine, cosine, tangent of angle
x
Example:
x = sin(pi/2);
// x is 1
See also:
Trigonometry
,
asin, acos, atan
► latest version online