This page is also available in 3 other languages

tan()

[Trigonometry]

Description

Calculates the tangent of an angle (in radians). The result will be between negative infinity and infinity.

Syntax

tan(rad)

Parameters

rad: The angle in Radians (float).

Returns

The tangent of the angle (double).

See also