Return hyperbolic sine of different numbers:
<?phpecho(sinh(3) . "<br>");echo(sinh(-3) . "<br>");echo(sinh(0) . "<br>");echo(sinh(M_PI ) . "<br>");echo(sinh(M_PI_2));?>The sinh() function returns the hyperbolic sine of a number, defined as (exp(number) - exp(-number))/2).
sinh( number );
parameter | describe |
---|---|
number | Required. Specify a number. |
Return value: | The hyperbolic sine of number . |
---|---|
Return type: | Float |
PHP version: | 4.1+ |