(sin angle)
Calculate the sine.
This function returns the sine of an angle. The angle is interpreted to be in radians and the result is an real number.
Examples
Code | Returns |
---|---|
(sin pi) | 0.00000 |
(sin (/ pi 2)) | 1.00000 |
(sin 1.0) | 0.841471 |
(sin 0) | 0.00000 |