acosh() function in PHP

PHPProgrammingServer Side Programming

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

Syntax

acosh(num)

Parameters

  • num − The number for which we want the inverse hyperbolic cosine.

Return

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

Example

 Live Demo

<?php
   echo(acosh(1) . "<br>");
   echo(acosh(1.60) . "<br>");
?>

Output

0<br>1.0469679150032<br>
raja
Published on 08-Nov-2018 12:51:02
Advertisements