Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the COT function. |
Examples
Cotangent of 45 degrees
=COT(PI()/4)
Cotangent of 30 degrees
=COT(RADIANS(30))
Using with engineering formula
=PI()*COT(PI()*0.3)
Common Errors
COT(0) = 1/TAN(0) = 1/0, which is undefined. Any multiple of π gives #DIV/0!.
Non-numeric arguments return #VALUE!.
Tips
COT(x) = 1/TAN(x) = COS(x)/SIN(x). If you already have TAN, you can just use 1/TAN instead of COT.
COT is undefined where SIN equals zero: at 0, π, 2π, etc. These inputs produce #DIV/0!.
COT appears in Fourier series, heat equation solutions, and impedance calculations. If your engineering formula calls for it, use it directly rather than 1/TAN for clarity.
Try COT in Viztab
Import your data and use COT with 370+ other formulas. No signup required.
Open Viztab