mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
794 B
794 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 | Boolean | Complex | Unit | Array | Matrix | null | Function input |
Returns
| Type | Description |
|---|---|
| Number | Complex | Array | Matrix | Hyperbolic arccosine of x |
Examples
math.acosh(1.5); // returns 0.9624236501192069