Graviton Graviton - 1 month ago 23
C# Question

Inverse cot in C#

We know that the inverse of

tan
is
Math.Atan
, what about the inverse of cot?
cot(x)
is defined as

cot(x)=1/tan(x)

Answer

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