Documentation/Calc Functions/ACOT

From The Document Foundation Wiki
Jump to: navigation, search

Function name:

ACOT

Category:

Mathematical

Summary:

Returns the inverse cotangent (the arccotangent) of a number. This function calculates the principal value.

Syntax:

ACOT(Number)

Returns:

This function returns the inverse trigonometric cotangent of Number, that is the angle (in radians) whose cotangent is Number. The angle returned is between 0 and PI, i.e. [0, π].

Arguments:

Number is the real number, or a reference to a cell containing that number, whose inverse trigonometric cotangent value is to be calculated.

Additional details:

  • To return the angle in degrees, use the DEGREES function.
  • Alternatively multiply by 180/PI() to convert the result from radians to degrees.

The GIF below illustrates the function ACOT.

ACOT function

Examples:

Formula Description Returns
=ACOT(1) Inverse trigonometric cotangent of 1 0.785398163397448 (PI/4 radians or π/4)
=DEGREES(ACOT(0.5)) Inverse trigonometric cotangent of 0.5. Further, converting angle in radians to degrees. 45° (degrees)
=ACOT(0.5) Inverse trigonometric cotangent of 0.5 1.10714871779409 (radians)
=ACOT(0.5)*180/PI() Inverse trigonometric cosine of 0.5. Further, converting angle in radians to degrees by multiplying by 180/PI(). 45° (degrees)

Related LibreOffice functions:

COT

DEGREES

ODF standard:

Section 6.16.5, part 2

Equivalent Excel functions:

ACOT