PHP: sinh() function
Description
The sinh() functions is used to get the hyperbolic sine of a number.
Version
(PHP 4 and above)
Syntax
sinh(num)
Parameter
Name | Description | Required / Optional |
Type |
---|---|---|---|
num | A number. | Required | Float |
Return value
The hyperbolic sine of num.
Value Type: Float.
Pictorial Presentation
Example:
<?php
echo(sinh(4) . '<br>');
echo(sinh(-4) . '<br>');
echo(sinh(0) . '<br>');
echo(sinh(M_PI) . "<br>");
echo(sinh(M_PI_2));
?>
Output:
27.289917197128 -27.289917197128 0 11.548739357258 2.3012989023073
View the example in the browser
See also
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics