Algosim documentation: arccot

arccot

The trigonometric arccotangent function.

Syntax

Description

Image 1

For real values, arccot is the inverse of the restriction of the trigonometric cotangent function to (−π/2, π/2] ∖ {0}; the domain is ℝ.

In general, arccot(z) is defined as

arccot(z) = i/2 ⋅ [ln(1 − i/z) − ln(1 + i/z)]

where z is a complex number.

Examples

arccot(√3)
0.523598775598	(=π/6)
arccot(−1)
−0.785398163397	(=−π/4)
arccot(i/2)
−1.57079632679 − 0.549306144334⋅i

See also