Skip to main content

SECH function

Hyperbolic secant function. SECH(x) returns the hyperbolic secant of x. The function is defined for all real numbers. The result is in the range (0, 1].

The hyperbolic secant is the reciprocal of the hyperbolic cosine:

$$ \operatorname{sech}(x) = \frac{1}{\operatorname{cosh}(x)} = \frac{2}{e^x + e^{-x}} $$

The argument x can be a real number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the SECH function applied to all elements.

Examples

SECH(0) equals 1

SECH(1) equals 0.6480542

Calculator

SECH 0.265802228834

Graph

SECH function

Related functions

External links