We know that the inverse of

tan

Math.Atan

cot(x)

cot(x)=1/tan(x)

See Inverse Cotangent. For some values, the inverse would be atan(1/x).

atan(1/x)