Return the hyperbolic cosine of different numbers in PHP
Description
The following code shows how to return the hyperbolic cosine of different numbers.
Example
/* w w w . j a v a 2s. c o m*/
<?php
echo(cosh(3) . "<br>");
echo(cosh(-3) . "<br>");
echo(cosh(0) . "<br>");
echo(cosh(M_PI) . "<br>");
echo(cosh(2*M_PI));
?>
The code above generates the following result.