The first derivative of the tanh(x) function
Calculates the 1st derivative tanh'(x) of the hyperbolic tangent function tanh(x).
The tanh(x) function is used in neural networks as an activation function, among other applications.
| \( \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.