How arccotangent works
Arccotangent is the inverse of the cotangent function. If cot(45°) = 1, then arccot(1) = 45°. The function accepts all real numbers and returns angles in the range (0°, 180°).
For zero input, arccot(0) = 90°. As the input approaches positive infinity, the result approaches 0°. As it approaches negative infinity, the result approaches 180°.