ACOT
The angle, in radians, whose cotangent is a number.
Group: Math. Compatible with DAX.
Syntax
ACOT ( <number> )
| Parameter | Type | Description |
|---|---|---|
number | Number | Any number, read as a cotangent. |
Returns
Number. The angle in radians, above 0 and below pi.
Remarks
- For a negative number the angle lies between pi / 2 and pi:
ACOT ( -1 )is 3 pi / 4, whereATAN ( 1 / -1 )would give -pi / 4. ACOT ( 0 )is pi / 2, and so is the result for a blank.
Examples
Angles from cotangents
EVALUATE
ROW (
"Of 1", ACOT ( 1 ),
"Of -1", ACOT ( -1 ),
"Of 0", ACOT ( 0 )
)
| Of 1 | Of -1 | Of 0 |
|---|---|---|
| 0.785398163397448 | 2.35619449019234 | 1.5707963267949 |