SIN

Syntax

SIN (Data)

Description

The SIN function returns the sine of Data, where Data represents an angle in radians.

To convert from degrees to radians, multiply by PI( ) / 180. (The PI function returns the value of PI.)

Returns

The sine of Data, where Data represents an angle in radians.

Example

The following examples employ the SIN built-in function:

  • SIN(PI( ) / 6) returns 0.5 (sine of PI / 6 radians).

  • SIN(PI( ) / 2) returns 1 (sine of PI / 2 radians).

  • SIN(45 * PI( ) / 180) returns 0.7071067812 (sine of 45 degrees).