Tanh () PHP Function
Monday November 3, 2008
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). Here is an example:
0.76159415595576
0.76159415595576
<?phpThis would return:
echo(tanh(1) . "<br />");
echo(sinh(1)/cosh(1) . "<br />");
?>
0.76159415595576
0.76159415595576


No comments yet. Leave a Comment