acosh
(PHP 4 >= 4.1.0, PHP 5)
acosh — Inverse hyperbolic cosine
Description
float acosh
( float
$arg
)
Returns the inverse hyperbolic cosine of
arg
, i.e. the value whose
hyperbolic cosine is arg
.
Parameters
-
arg
-
The value to process
Return Values
The inverse hyperbolic cosine of arg
Changelog
Version | Description |
---|---|
5.3.0 | This function is now available on all platforms |
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Математические расширения
- Математические функции
- abs
- acos
- acosh
- asin
- asinh
- atan2
- atan
- atanh
- base_convert
- bindec
- ceil
- cos
- cosh
- decbin
- dechex
- decoct
- deg2rad
- exp
- expm1
- floor
- fmod
- getrandmax
- hexdec
- hypot
- intdiv
- is_finite
- is_infinite
- is_nan
- lcg_value
- log10
- log1p
- log
- max
- min
- mt_getrandmax
- mt_rand
- mt_srand
- octdec
- pi
- pow
- rad2deg
- rand
- round
- sin
- sinh
- sqrt
- srand
- tan
- tanh
Коментарии
Hello!
There is no any example for acosh() function. Please put this one below the acosh() function's description.
Thank you!
Example:
<?php
$x = 1;
$y1 = acosh($x);
echo "PHP function acosh(). acosh(" . $x . ") = " . $y1 . ".<br/>";
$y2 = log($x + sqrt($x*$x -1));
echo "By definition of acosh. acosh(" . $x . ") = " . $y2 . ".<br/>";
$x = 10;
$y1 = acosh($x);
echo "PHP function acosh(). acosh(" . $x . ") = " . $y1 . ".<br/>";
$y2 = log($x + sqrt($x*$x -1));
echo "By definition of acosh. acosh(" . $x . ") = " . $y2 . ".<br/>";
?>