cot function

double cot(
  1. double radian
)

Trigonometric Cotangent of an angle in radian, or adjacent / opposite. Reciprocal of the tangent.

Implementation

double cot(double radian) {
  return 1 / tan(radian);
}