# Tanh

The hyperbolic tangent is defined by the formula $$\mathrm{tanh}(z)=\dfrac{\mathrm{sinh}(z)}{\mathrm{cosh}(z)},$$ where $\mathrm{sinh}$ is the hyperbolic sine and $\mathrm{cosh}$ is the hyperbolic cosine.