PHP acosh () function
Examples
Returns the inverse hyperbolic cosine 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));
?>
Running instance »
Definition and Usage
acosh () function returns the inverse hyperbolic cosine of a number.
grammar
acosh( number );
参数 | 描述 |
---|---|
number | 必需。规定一个数。 |
technical details
return value: | inverse hyperbolic cosine of number. |
---|---|
Return type: | Float |
PHP version: | 4.1+ |
PHP Update Log: | PHP 5.3: acosh () function is available on all platforms. |
PHP Math Reference