SIN() Function - Sine

Syntax

SIN(num{,precis}{,ERR=lineref})

Description

The SIN() function returns the sine of an argument.

Parameter

Description

num

Argument expressed in radians. It can be any value; however, values over 10^16 lose accuracy.

precis

Numeric precision, an integer in the range of 1 to 16 (default is 6). This represents the number of decimal places desired in the result.

ERR=lineref

Branch to be taken if an error occurs during execution.

Examples

1000 LET A=SIN(3.14159)
2000 LET A=SIN(B,16); REM - MAXIMUM PRECISION

See Also

Functions - Alphabetical Listing