acosh()
The built-in math function acosh()
determines the inverse hyperbolic cosine of a number, in other words the value whose hyperbolic cosine is the input number. The output is a floating point number in radians.
Syntax
$result = acosh($number);
Where $number
is the value that the inverse hyperbolic cosine will be based on.
Example
<?phpecho(acosh(10));?>
This will result in the following output:
2.9932228461264
Codebyte Example
The following code is runnable and demonstrates the use of acosh()
.
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.