OpenBI Docs Buy

COT

For an angle in radians, its cosine divided by its sine.

Group: Math. Compatible with DAX.

Syntax

COT ( <number> )
ParameterTypeDescription
numberNumberAn angle in radians; not 0.

Returns

Number. The cotangent of the angle: its cosine divided by its sine.

Remarks

  • It is 1 divided by TAN of the angle.
  • An angle of 0, and a blank, which counts as 0, are a division by zero and an error.
  • Angles are in radians. To work in degrees, wrap the angle in RADIANS first.

Examples

Cotangents

EVALUATE
ROW (
    "Pi / 4", COT ( PI () / 4 ),
    "Of 1", COT ( 1 ),
    "Of -1", COT ( -1 )
)
Pi / 4Of 1Of -1
10.642092615934331-0.642092615934331

TAN, ACOT, COTH.

Last updated · OpenBI Studio 0.3.74