Sin

Description

Calculates the sine of an angle.

Syntax

Sin ( n )

Argument

Description

n

The angle (in radians) for which you want the sine


Return value

Double.

Returns the sine of n. If n is null, Sin returns null.

Examples

This statement returns .8414709848078965:

Sin(1)

This statement returns 0:

Sin(0)

This statement returns 0:

Sin(Pi(1))

See also

ASin

ATan

Pi

Tan

Sin method for DataWindows in the section called “Sin” in DataWindow Reference.