PHP acosh()Functions
Examples
Returns the inverse hyperbolic cosine of different numbers:
<?php
echo(acosh(7) . "<br>");
echo(acosh(56) . "<br>");
echo(acosh(2.45));
?>
echo(acosh(7) . "<br>");
echo(acosh(56) . "<br>");
echo(acosh(2.45));
?>
Run Example »
Definition and Usage
The acosh() function returns the inverse hyperbolic cosine of a number.
Syntax
acosh(number);
| Parameters | Description |
|---|---|
| number | Required. Specifies a number. |
Technical Details
| Return value: | numberThe inverse hyperbolic cosine of. |
|---|---|
| Return type: | Float |
| PHP Version: | 4.1+ |
| PHP Changelog: | PHP 5.3: The acosh() function is available on all platforms. |
PHP Math Reference Manual Other Extensions