+

PHP Acosh () function

Syntax:
float acosh ($value)
Parameters:this function takes one parameter $value. This is the number for which you want to find the inverse hyperbolic cosine value. The value of this parameter must be in radians.Returned value:Returns a floating point number that is the value of the inverse hyperbolic cosine of the number passed as an argument.Examples:
Input: acosh (7) Output: 2.6339157938496 Input: acosh (56) Output: 4.7184191423729 Input: acosh (2.45) Output: 1.5447131178707
Below are programs taking various the $value values ​​are used to illustrate the acosh() function in PHP:
  • Passing 7 as a parameter: echo ( acosh (7));  
    ?>
    Output:
    2.6339157938496
  • Pass 56 as a parameter: echo ( acosh (56));  
    ?>
    Output:
    4.7184191423729
  • Pass 2.45 as a parameter: echo ( acosh (2.45));  
    ?>
    Output:
    1.5447131178707
Link :
http: //php.net/manual/en/function.acosh.php
Get Solution for free from DataCamp guru