COTH
Applies to: Calculated column Calculated table Measure Visual calculation
Returns the hyperbolic cotangent of a hyperbolic angle.
Syntax
COTH (<number>)
Parameters
Term | Definition |
---|---|
number | The hyperbolic angle in radians for which you want the hyperbolic cotangent. |
Return value
The hyperbolic cotangent of the given angle.
Remarks
The hyperbolic cotangent is an analog of the ordinary (circular) cotangent.
The absolute value of number must be less than $2^{27}$ and cannot be 0.
If number is outside its constraints, an error is returned
If number is a non-numeric value, an error is returned.
The following equation is used:
$$\text{COTH}(N) = \frac{1}{\text{TANH}(N)} = \frac{\text{COSH(N)}}{\text{SINH(N)}} = \frac{e^{N} + e^{-N}}{e^{N} - e^{-N}}$$
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Example
The following DAX query,
EVALUATE { COTH(2) }
Returns
[Value] |
---|
1.03731472072755 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for