Home >>PHP Math Functions >PHP asinh() Function

PHP asinh() Function

PHP asinh() Function

PHP asinh() function is used to find the inverse hyperbolic sine of a given input number passed to it as an argument. It accepts only a single parameter $number which is the given input number whose inverse hyperbolic sine value is to be found. It’s value must be in radians. It returns a floating point number as output which is the inverse hyperbolic sine value of the input number passed as argument.

Syntax:

  asinh($number);

Parameter Values

Parameter Description
number This is a required parameter. This parameter defines the given input number.

Here is an example of asinh() function in PHP:

<html>
<body>

<?php

echo asinh(17)."<br>";
echo asinh(69)."<br>";

?>

</body>
</html>
Output:
3.5272244562
4.9273061909986

Here is an another example of asinh() function in PHP:

<html>
<body>

<?php

echo asinh(23)."<br>";
echo asinh(-23)."<br>";
echo asinh(4.56)."<br>";
echo asinh(-4.56)."<br>";

?>

</body>
</html>
Output:
3.8291136516209
-3.8291136516209
2.2222815243036
-2.2222815243036

No Sidebar ads