acosh() function in PHP


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>

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 26-Jun-2020

88 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements