2022-07-23 12:23:14 +02:00

52 lines
1.3 KiB
Markdown

---
layout: default
---
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
<h1 id="function-acoth">Function acoth <a href="#function-acoth" title="Permalink">#</a></h1>
Calculate the hyperbolic arccotangent of a value,
defined as `acoth(x) = atanh(1/x) = (ln((x+1)/x) + ln(x/(x-1))) / 2`.
To avoid confusion with the matrix hyperbolic arccotangent, this
function does not apply to matrices.
<h2 id="syntax">Syntax <a href="#syntax" title="Permalink">#</a></h2>
```js
math.acoth(x)
```
<h3 id="parameters">Parameters <a href="#parameters" title="Permalink">#</a></h3>
Parameter | Type | Description
--------- | ---- | -----------
`x` | number &#124; BigNumber &#124; Complex | Function input
<h3 id="returns">Returns <a href="#returns" title="Permalink">#</a></h3>
Type | Description
---- | -----------
number &#124; BigNumber &#124; Complex | Hyperbolic arccotangent of x
<h3 id="throws">Throws <a href="#throws" title="Permalink">#</a></h3>
Type | Description
---- | -----------
<h2 id="examples">Examples <a href="#examples" title="Permalink">#</a></h2>
```js
math.acoth(0.5) // returns 0.8047189562170503
```
<h2 id="see-also">See also <a href="#see-also" title="Permalink">#</a></h2>
[acsch](acsch.html),
[asech](asech.html)