Sin

Description

Calculates the sine of an angle.

Syntax

Sin ( n )

Argument

Description

n

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

Returns

Double. Returns the sine of n if it succeeds and –1 if an error occurs.

Examples

Example 1

This expression returns .8414709848078965:

Sin(1)

Example 2

This expression returns 0:

Sin(0)

Example 3

This expression returns 0:

Sin(pi(1))

See also