PHP acosh function

Syntax of acosh in PHP

float acosh(float value)

Returns the inverse hyberbolic cosine of value.

Example of acosh function in php

<?php
echo(acosh(7) . "<br>");
echo(acosh(56) . "<br>");
echo(acosh(2.45));
?>

Output of acosh function in PHP

2.6339157938496
4.7184191423729
1.5447131178707

Leave a Comment