TAN

The TAN function calculates the tangent of an angle expression.

Return Value

DECIMAL

Syntax

TAN(expression)

Arguments

expression

A numeric expression that contains an angle value, which is specified in radians.

Examples

Example 8-129 Calculating the Tangent of an Angle

This example calculates the tangent of an angle of 1 radian. The statements

DECIMALS = 5
SHOW TAN(1)

produce the following result.

1.55741