nerdamer.acosh(x: ExpressionInput): Expression
Computes the inverse hyperbolic cosine of an expression.
-
`acosh(1) = 0`
-
`acosh(0) = iπ/2`
-
`acosh(+∞) = +∞`
- For inputs less than 1, returns a complex result via
`log(x + sqrt(x²−1))`
.
throwsUndefinedError If
`x`
is
`−∞`
.
Parameters
| Name | Type | Description |
|---|
x | ExpressionInput | The input expression (domain `[1, ∞)` for real results). |
Returns
Expression — The inverse hyperbolic cosine of `x`.
Examples
acosh(1).text() // "0"
// Symbolic
acosh('x').text() // "acosh(x)"