Compartilhar via


SIN( ) Function

Returns the sine of an angle.

SIN(nExpression)

Return Values

Numeric

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.

Example

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

See Also

ACOS( ) | COS( ) | DTOR( ) | RTOD( ) | SET DECIMALS