PHP 8.4.1 Released!

acosh

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

acoshAreakosinus hyperbolikus

Beschreibung

acosh(float $num): float

Gibt den inversen Kosinus hyperbolikus von num zurück, d.h. den Wert dessen Kosinus hyperbolikus num ergibt.

Parameter-Liste

num

Der zu verarbeitende Wert.

Rückgabewerte

Der Areakosinus hyperbolikus von num.

Siehe auch

add a note

User Contributed Notes 1 note

up
-2
rahmatjon at gmail dot com
3 years ago
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/>";
?>
To Top