PHP sinh() Function
Example
Return the hyperbolic sine of different numbers:
"); echo(sinh(-3) . ""); echo(sinh(0) . "
"); echo(sinh(M_PI) . "
"); echo(sinh(M_PI_2)); ?>
Run Example »
Definition and Usage
The sinh() function returns the hyperbolic sine of a number, defined as (exp(number) - exp(-number))/2).
Syntax
sinh(
number
);
| Parameters | Description |
|---|---|
| number | Required. Specifies a number. |
Technical Details
| Return Value: | number The hyperbolic sine of. |
|---|---|
| Return Type: | Float |
| PHP Version: | 4.1+ |
PHP Math Reference Manual