Tanh () PHP Function

106 16
Definition: The tanh () PHP Function is used to find the hyperbolic tangent of the imputed number. So tanh (x) would return the hyperbolic tangent of x, or sinh (x)/cosh(x). This will produce a curve who's inverse is the arc hyperbolic tangent.

Also Known As: hyperbolic tangent

Examples:

<?phpecho(tanh(1) . "<br />");echo(tanh(0) . "<br />");echo(tanh(-1) . "<br />");?>
This would give the results:
0.76159415595576
0
-0.76159415595576

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.