How to use sinh in PHP

This article describe about sinh() Function in PHP.
  • 1219

sinh() Function

This function return the hyperbolic  sine value of a number.

Syntax

sinh(x)

 

Parameter Description
x Required a number

Example

<html>
<body>
<?php
echo(sinh(5) . "<br />");
echo(sinh(-5) . "<br />");
echo(sinh(0) . "<br />");
echo(sinh(M_PI) . "<br />");
echo(sinh(M_PI_2))
?>
</body>
</html>

 

Output


sinh-php.jpg

You may also want to read these related articles Click here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.