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 it succeeds and -1 if an error occurs.

Examples

This expression returns .8414709848078965:

Sin(1)

This expression returns 0:

Sin(0)

This expression returns 0:

Sin(pi(1))

See also

Cos

Pi

Tan