COTH

Applies to: Calculated column Calculated table Measure Visual calculation

Returns the hyperbolic cotangent of a hyperbolic angle.

Syntax

DAX
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 227 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:

    COTH(N)=1TANH(N)=COSH(N)SINH(N)=eN+eNeNeN

  • 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,

DAX
EVALUATE { COTH(2) }

Returns

[Value]
1.03731472072755