Function Reference


Sin

Calculates the sine of a number.

Sin ( expression )

Parameters

expression Value in radians.

Return Value

Returns the trigonometric sine of number.

Remarks

1° = pi / 180 radians.

Related

Cos, Tan, ASin, ACos, ATan

Example


Local $pi = 3.14159265358979
Local $x = Sin($pi / 4) ;returns 0.707106781186547 which you should recognize as sqrt(2)/2

Local $degToRad = $pi / 180
Local $y = Sin(90 * $degToRad) ;sine of 90°