Search…
Resources
Related 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.
tan(1)
Result: 1.5574077246549023
​
tan(1.5)
Result:14.101419947171719
​
tan(5)
Result: -3.380515006246586
Last modified 2mo ago
Export as PDF
Copy link