# Cotangent function (cot)

Cotangent of an angle in radians.

## How to write it

### cot(x)

**x**

An angle in radians. Takes an expression.

## Examples

- $\displaystyle \cot\left(\frac{\pi}{4}\right) = 1$

  `cot(pi/4)`

  In the solver, `cot(pi/4)` gives `1`.

  [Open in the solver](https://hilberon.com/?q=cot%28pi%2F4%29)

## Related functions

- [coth](https://hilberon.com/library/coth)

  Hyperbolic cotangent.
- [cosh](https://hilberon.com/library/cosh)

  Hyperbolic cosine.
- [csc](https://hilberon.com/library/csc)

  Cosecant of an angle in radians.
- [cos](https://hilberon.com/library/cos)

  Cosine of an angle in radians.
- [csch](https://hilberon.com/library/csch)

  Hyperbolic cosecant.
- [arctanh](https://hilberon.com/library/arctanh)

  Inverse hyperbolic tangent.

---
Source: https://hilberon.com/library/cot
