PHP 8.1.0 Alpha 2 available for testing

acosh

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

acoshArc cosinus hyperbolique

Description

acosh(float $num): float

Retourne l'arc cosinus hyperbolique de num, c'est à dire la valeur dont le cosinus hyperbolique est num.

Liste de paramètres

num

La valeur à traiter

Valeurs de retour

L'arc cosinus hyperbolique de num.

Voir aussi

  • cosh() - Cosinus hyperbolique
  • acos() - Arc cosinus
  • asinh ()
  • atanh() - Arc tangente hyperbolique

add a note add a note

User Contributed Notes 1 note

up
0
rahmatjon at gmail dot com
5 months 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