JavaScript Editor js editor     Web development 



Main Page

Returns the sine of an angle.

SIN(nExpression)

Parameters

nExpression


Specifies an angle whose sine SIN( ) returns. nExpression can assume any value and the value returned by SIN( ) ranges between –1 and 1.
Note:
nExpression is specified in radians. Use DTOR(В ) to convert an angle from degrees to radians. The number of decimal places displayed by SIN(В ) can be specified with SET DECIMALS.

Return Value

Numeric

Example

В Copy Code
CLEAR
? SIN(0)  && Displays 0.00
? SIN(PI( )/2)  && Displays 1.00
? SIN(DTOR(90))  && Displays 1.00

See Also



JavaScript Editor js editor     Web development