ACOT
Returns the angle in radians whose cotangent is the input value.
ACOT maps real inputs to principal angles in (0, PI()).
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=ACOT(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | number | Required | — |
How it works
Inverts cotangent on the open interval from 0 to π. Every finite real input is valid and zero maps to π/2.
Remarks
- Domain: accepts any real number, including
0. - Radians: output is in
(0, PI()), withACOT(0) = PI()/2.
Error cases
- Errors: no function-specific domain errors are produced.
Examples
Find the principal angle with cotangent one half.
Formula =ACOT(0.5)
Expected result 1.10714871779409
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A negative cotangent of one half selects the obtuse solution.
Formula =ACOT(-0.5)
Expected result 2.0344439357957
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Cotangent zero occurs at the principal angle π/2.
Formula =ACOT(0)
Expected result 1.5707963267949
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The text “invalid” cannot be used as the input to the inverse cotangent.
Formula =ACOT("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Arccotangent of one
Formula =ACOT(1)
Expected result 0.785398163397448
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Arccotangent of negative one
Formula =ACOT(-1)
Expected result 2.35619449019234
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
What is ACOT(0)?
ACOT(0) is PI()/2 in the principal-value branch used here.