PHP acosh() Function

Definition

The acosh() function returns the inverse hyperbolic cosine of a number.

Syntax

PHP acosh() Function has the following syntax.

acosh(number);

Parameter

ParameterDescription
numberRequired. Specifies a number

Return

PHP acosh() function returns the inverse hyperbolik cosine of number.

Example

Return the inverse hyperbolic cosine of different numbers:


<?php/*ww  w.jav  a 2s  . c  o m*/
echo(acosh(7) . "\n");
echo(acosh(56) . "\n");
echo(acosh(2.45));
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Function reference »




PHP Array Functions
PHP Calendar Functions
PHP Class Functions
PHP Data Type Functions
PHP Date Functions
PHP File Functions
PHP Image Functions
PHP Math Functions
PHP MySQLi Functions
PHP SimpleXML Functions
PHP String Functions
PHP XML Functions
PHP Zip Functions