tan
The trigonometric tangent function.
Syntax

tan(x)

x
is a real or complex number.

Description
tan(z)
is defined as sin(z) / cos(z)
for all complex z
.
Notes
If you want to specify the argument in degrees, you can use the ° postfix operator, which amounts to multiplication by π/180.
Examples
tan(0)
0
tan(π/4)
1
tan(60°)
1.73205080757 (=√3)
tan(i)
0.761594155956⋅i