cot
The trigonometric cotangent function.
Syntax

cot(x)

x
is a real or complex number.

Description
cot(z)
is defined as cos(z) / sin(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
cot(π/2)
0
cot(π/4)
1
cot(30°)
1.73205080757 (=√3)
cot(i)
−1.3130352855⋅i