PHP acosh() Function
Example
Return the inverse hyperbolic cosine of different numbers:
<?php
echo(acosh(7) . "<br>");
echo(acosh(56) . "<br>");
echo(acosh(2.45));
?>
Try it Yourself »
Definition and Usage
The acosh() function returns the inverse hyperbolic cosine of a number.
Syntax
acosh(number);
Parameter Values
Parameter | Description |
---|---|
number | Required. Specifies a number |
Technical Details
Return Value: | The inverse hyperbolic cosine of number |
---|---|
Return Type: | Float |
PHP Version: | 4.1+ |
PHP Changelog: | PHP 5.3 - acosh() is now available on all platforms |
❮ PHP Math Reference