Description
Sin returns a number specifying the sine of an angle given in radians.
Arguments
Number value that represents an angle in radians.
Returns
Number value between –1 and 1
Action
Sin returns a number specifying the sine of an angle given in radians. It takes a right-angle triangle, and returns the length of the side opposite to the specified angle divided by the length of the hypotenuse.
Examples
Sin (1)
Returns 0.8415 (rounded to 4 decimals). This is the sine of 1 radian.
Sin (30 * crPi / 180)
Returns 0.5. This is the sine of 30 degrees. Before taking the sine, the angle is converted to radians by multiplying by crPi / 180.
Comments
The range of values returned by Sin is between –1 and 1.