WLJS LogoWLJS Notebook

Tanh

Tanh[z] gives the hyperbolic tangent of z, defined as sinh(z)/cosh(z)\sinh(z)/\cosh(z).

Examples

Compute hyperbolic tangent values:

Tanh[0]
(* 0 *)

Tanh[1.0]
(* 0.761594 *)

(* Tanh approaches 1 for large positive values *)
Tanh[10.0]
(* 0.999999996 *)

Please visit the official Wolfram Language Reference for more details.

On this page