tanh(x) function
Calculates the tanh(x) function (hyperbolic tangent function).
The tanh(x) function is used in applications such as activation functions for neural networks.
| \( \normalsize Tangent\ hyperbolic\ function\ \tanh(x)\\ f(x) = \large \tanh(x) = \large \frac {e^{x}-e^{-x}}{e^{x}+e^{-x}}\\ \normalsize f'(x) = 1 - f(x)^{2} \\ \normalsize f''(x) = - 2 f(x) \left\{ 1 - f(x)^{2} \right\} \\\) |
No customer feedback for this calculation yet.