The acosh()
function returns the inverse hyperbolic cosine of a number.
PHP acosh() Function has the following syntax.
acosh(number);
Parameter | Description |
---|---|
number | Required. Specifies a number |
PHP acosh()
function returns the inverse hyperbolik cosine of number.
Return the inverse hyperbolic cosine of different numbers:
<?php
echo(acosh(7) . "\n");
echo(acosh(56) . "\n");
echo(acosh(2.45));
?>
The code above generates the following result.