mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
1.2 KiB
1.2 KiB
| layout |
|---|
| default |
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