# COT

Formulas / COT
To calculate the cotangent of a specified angle in radians, which is the reciprocal of the tangent of the angle.
`COT(number)`
• number - The angle in radians for which the cotangent is to be calculated.

## Examples

• `=COT(PI()/4)`

This formula calculates the cotangent of π/4 radians (45 degrees) and returns the result, which is approximately 1.

• `=COT(0)`

This formula calculates the cotangent of 0 radians (0 degrees) and returns the result, which is an error (#DIV/0!) because the cotangent of 0 radians is undefined.

## Summary

The COT function calculates the cotangent of a given angle in radians.

• The COT function calculates the cotangent of a given angle in radians, which is the reciprocal of the tangent of the angle.
• The COT function returns a #DIV/0! error if the argument corresponds to an angle where the tangent is zero (e.g., π/2, 3π/2).
• The COT function expects the angle to be provided in radians; if the angle is given in degrees, it must be converted to radians using the RADIANS function.