mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
765 B
765 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 |
Examples
math.acosh(1.5) // returns 0.9624236501192069