Sinh () PHP Function
Wednesday November 5, 2008
The sinh (x) PHP function is used to calculate the hyperbolic sine of x. It can also be calculated as (exp(x) - exp(-x))/2, with exp being e raised to the power of x.
<?php
echo(sinh(1) . "<br />");
echo((exp(1) - exp(-1))/2 . "<br />");
?>
This would return:
1.1752011936438
1.1752011936438


No comments yet. Leave a Comment