cos, sin, tan
cos, sin, tan — perform trigonometric functions.
Syntax
cos (number)
sin (number)
tan (number)
Arguments
- number
Any number in radians. Non-numbers are treated as zero.
Returns
The result of the trigonometric functions cosine, sine and tangent.
Example
Gamma> cos(8);
-0.14550003380861353808
Gamma> sin(.8);
0.71735609089952279138
Gamma> tan(.5);
0.54630248984379048416
Gamma>