simple-squiggle/node_modules/mathjs/docs/reference/functions/acosh.md

817 B

Function acosh

Calculate the hyperbolic arccos of a value, defined as acosh(x) = ln(sqrt(x^2 - 1) + x).

For matrices, the function is evaluated element wise.

Syntax

math.acosh(x)

Parameters

Parameter Type Description
x number | Complex | Unit | Array | Matrix Function input

Returns

Type Description
number | Complex | Array | Matrix Hyperbolic arccosine of x

Throws

Type Description

Examples

math.acosh(1.5)       // returns 0.9624236501192069

See also

cosh, asinh, atanh