arccot
The trigonometric arccotangent function.
Syntax

arccot(x)

x
is a real or complex number

Description
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