Tan

Description

Calculates the tangent of an angle.

Syntax

Tan ( n )

Argument

Description

n

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

Returns

Double. Returns the tangent of n. An execution error occurs if n is not valid. If n is null, Tan returns null.

Examples

Example 1

Both these statements return 0:

Tan(0)

Tan(Pi(1))

Example 2

This statement returns 1.55741:

Tan(1)

See also