Tan

Description

Calculates the tangent of an angle.

Syntax

Tan ( n )

Argument

Description

n

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


Return value

Double.

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

Examples

Both these statements return 0:

Tan(0)
Tan(Pi(1))

This statement returns 1.55741:

Tan(1)

See also

ATan

Cos

Pi

Sin

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