OpenBI Docs Buy

COSH

Hyperbolic cosine of the number: (e^x + e^-x) / 2.

Group: Math. Compatible with DAX.

Syntax

COSH ( <number> )
ParameterTypeDescription
numberNumberAny number.

Returns

Number. A number of 1 or more; exactly 1 for 0.

Remarks

  • It is half of e to the number plus e to minus the number, and even: COSH ( -1 ) is COSH ( 1 ).
  • A blank counts as 0, so the result is 1.
  • From about 710 either way the result no longer fits in a number, and the call is an error.
  • COSH ( x ) ^ 2 - SINH ( x ) ^ 2 is 1, up to the last digit.

Examples

Hyperbolic cosines

EVALUATE
ROW (
    "Of 0", COSH ( 0 ),
    "Of 1", COSH ( 1 ),
    "Of -1", COSH ( -1 ),
    "Of blank", COSH ( BLANK () )
)
Of 0Of 1Of -1Of blank
11.543080634815241.543080634815241

SINH, TANH, ACOSH, EXP.

Last updated · OpenBI Studio 0.3.74