3.5.1.2.26 Sech

Description

The sech(x) function returns hyperbolic secant of x. An absolute value larger than about 710 is computationally out of bounds and returns missing value.

Syntax

double sech(double x)

Parameter

x

can be any real number. An absolute value larger than about 710 is computationally out of bounds and returns missing value.

Return

Returns hyperbolic secant of x.

Example

aa = sech(10);
aa = ; //should return 9.0799859337817E-5

See Also

Sinh, Cosh, Tanh, Coth, Csch