Algosim documentation: cot

cot

The trigonometric cotangent function.

Syntax

Description

Image 1

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

See also