PHP acosh() Function
In this chapter you will learn:
- Definition for PHP acosh() Function
- Syntax for PHP acosh() Function
- Parameter for PHP acosh() Function
- Return for PHP acosh() Function
- Example - calculate the inverse hyperbolic cosine
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//from j av a2 s . c om
echo(acosh(7) . "\n");
echo(acosh(56) . "\n");
echo(acosh(2.45));
?>
The code above generates the following result.
Next chapter...
What you will learn in the next chapter:
- Definition for PHP asin() Function
- Syntax for PHP asin() Function
- Parameter for PHP asin() Function
- Return for PHP asin() Function
- Example - calculate the arc sine value
Home » PHP Tutorial » PHP Math Functions