ReferenceFunctionsMath Functions
COT
Returns the cotangent of an angle, defined as `1 / TAN(angle)`.
Summary
COT is useful when working with reciprocal tangent relationships.
Remarks
- Domain: valid for all real angles except where
TAN(angle) = 0. - Radians: input is interpreted in radians.
- Errors: returns
#DIV/0!at or near integer multiples ofPI().
Examples
Cotangent at PI over 4
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
1
Undefined cotangent at zero
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
#DIV/0!
Related functions
FAQ
Why is COT undefined at integer multiples of PI()?
At those points TAN is zero, so 1/TAN triggers a #DIV/0! condition.
Runtime metadata
Category
Math
Signature
COT(arg1: Number)Arity
min 1, max 1
Arguments
arg1Number · Scalar · coercion NumberLenientText
Caps
PUREELEMENTWISENUMERIC_ONLY
Source