SIN Function

The SIN function returns the trigonometric sine of the expression.

Format

SIN(expr)

Description

The expression expr is treated as an angle expressed as a numeric value in degrees. Values outside the range of 0 to 360 degrees are interpreted as modulo 360.

Example

In this application, the SIN function is used with a standard trigonometric formula to calculate the cosine of an angle without using the COS function.

COSINE = SQRT(1 - SIN(ANGLE) * SIN(ANGLE))

PRINT " THE COSINE IS CALCULATED AS : " : COSINE

See Also

Statement and Function Reference