Function reference · Trigonometry
sech
Computes the hyperbolic secant 1/cosh(x).
sech evaluates through hyperbolic cosine when possible. It equals 1 at zero and tends to zero at either infinity.
Examples
These examples use Nerdamer Notation.
Evaluate the origin.
sech(0) // → 1
Keep a symbolic hyperbolic secant.
sech(x)Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
sech(arg1)
nerdamer.sech
Call the operation through the default nerdamer import.
nerdamer.sech(x: ExpressionInput): Expression
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | The input expression. |
Returns
Expression — The hyperbolic secant of `x`.
