PHP acosh() Function
Definition
The acosh()
function returns the inverse hyperbolic cosine of a number.
Syntax
PHP acosh() Function has the following syntax.
acosh(number);
Parameter
Parameter | Description |
---|---|
number | Required. Specifies a number |
Return
PHP acosh()
function returns the inverse hyperbolik cosine of number.
Example
Return the inverse hyperbolic cosine of different numbers:
<?php/*ww w.jav a 2s . c o m*/
echo(acosh(7) . "\n");
echo(acosh(56) . "\n");
echo(acosh(2.45));
?>
The code above generates the following result.