Wilang Documentation1.0.0+4

sech#

Compute the hyperbolic secant of x in radians. Defined as 1/cosh(x)

Available in: math cells, REPL.

Syntax#

sech(x)

Arguments and behavior#

Bare numeric angles are radians. Direct trigonometric functions also accept angle units such as deg. Inverse trigonometric results are numbers; attach rad before converting to degrees. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
sech(2)

Expected result: 0.26580222883408.

See also#

coth · csch · cosh

All functions · Math guides