sin

Definition: atom x2 = sin(atom x1)
Description: Return the sine of x1, where x1 is in radians.
Comments: This function may be applied to an atom or sq_sin() to all elements of a sequence. The rules for sequence operations apply.

Note that the following diagram uses degrees, ie sin(30*CD_DEG2RAD) = 0.5, where CD_DEG2RAD is defined in pGUI as PI/180.

Example:
sin_x = sin(.9)
-- sin_x is 0.783
See Also: cos, tan