Function asech #

Calculate the hyperbolic arcsecant of a value, defined as asech(x) = acosh(1/x) = ln(sqrt(1/x^2 - 1) + 1/x).

To avoid confusion with the matrix hyperbolic arcsecant, this function does not apply to matrices.

Syntax #

math.asech(x)

Parameters #

Parameter Type Description
x number | BigNumber | Complex Function input

Returns #

Type Description
number | BigNumber | Complex Hyperbolic arcsecant of x

Throws #

Type | Description —- | ———–

Examples #

math.asech(0.5)       // returns 1.3169578969248166

See also #

acsch, acoth

Fork me on GitHub