diff --git a/docs/src/functions/images/hyperbolicarcsine-curve.png b/docs/src/functions/images/hyperbolicarcsine-curve.png new file mode 100644 index 0000000..8319565 Binary files /dev/null and b/docs/src/functions/images/hyperbolicarcsine-curve.png differ diff --git a/docs/src/functions/math_and_trigonometry/asinh.md b/docs/src/functions/math_and_trigonometry/asinh.md index c222e0d..f24deca 100644 --- a/docs/src/functions/math_and_trigonometry/asinh.md +++ b/docs/src/functions/math_and_trigonometry/asinh.md @@ -4,8 +4,37 @@ outline: deep lang: en-US --- -# ASINH +# ASINH function +## Overview +ASINH is a function of the Math and Trigonometry category that calculates the inverse hyperbolic sine (hyperbolic arcsine) of a number, returning the hyperbolic angle expressed in radians. +## Usage +### Syntax +**ASINH(number) => asinh** +### Argument descriptions +* *number* ([number](/features/value-types#numbers), required). The value whose inverse hyperbolic sine is to be calculated. +### Additional guidance +The hyperbolic arcsine function is defined as: +$$ +\operatorname{asinh}(x) = \ln\!\left(x + \sqrt{x^2 + 1}\,\right) +$$ +### Returned value +ASINH returns a real [number](/features/value-types#numbers) that is the hyperbolic arcsine of the specified value, expressed in radians. +### Error conditions +* In common with many other IronCalc functions, ASINH propagates errors that are found in its argument. +* If no argument, or more than one argument, is supplied, then ASINH returns the [`#ERROR!`](/features/error-types.md#error) error. +* If the value of the *number* argument is not (or cannot be converted to) a [number](/features/value-types#numbers), then ASINH returns the [`#VALUE!`](/features/error-types.md#value) error. +* For some argument values, ASINH may return a [`#DIV/0!`](/features/error-types.md#div-0) error. + +## Details +* The ASINH function utilizes the *asinh()* method provided by the [Rust Standard Library](https://doc.rust-lang.org/std/). +* The figure below illustrates the output of the ASINH function. +
Graph showing asinh(x).
-::: warning -🚧 This function is implemented but currently lacks detailed documentation. For guidance, you may refer to the equivalent functionality in [Microsoft Excel documentation](https://support.microsoft.com/en-us/office/excel-functions-by-category-5f91f4e9-7b42-46d2-9bd1-63f26a86c0eb). -::: \ No newline at end of file +## Examples +[See some examples in IronCalc](https://app.ironcalc.com/?example=asinh). + +## Links +* For more information about inverse hyperbolic functions, visit Wikipedia's [Inverse hyperbolic functions](https://en.wikipedia.org/wiki/Inverse_hyperbolic_functions) page. +* See also IronCalc's [SINH](/functions/math_and_trigonometry/sinh), [COSH](/functions/math_and_trigonometry/cosh) and [TANH](/functions/math_and_trigonometry/tanh) functions. +* Visit Microsoft Excel's [ASINH function](https://support.microsoft.com/de-de/office/asinh-function-62b4f5b6-d9cc-4c17-9d04-aa5371806c74) page. +* Both [Google Sheets](https://support.google.com/docs/answer/3093393) and [LibreOffice Calc](https://wiki.documentfoundation.org/Documentation/Calc_Functions/ASINH) provide versions of the ASINH function. \ No newline at end of file