Links

tan

To calculate the tangent
The function returns the tangent of an angle.

Syntax

tan(number)

Return

number

Examples

tan(x) To calculate the tangent of a number x.
1
tan(1)
Result: 1.5574077246549023
1
tan(1.5)
Result:14.101419947171719
1
tan(5)
Result: -3.380515006246586
Last modified 9mo ago