C Math sinh() Function
Example
Return the hyperbolic sine of different numbers:
printf("%f", sinh(7));
printf("%f", sinh(56));
printf("%f", sinh(2.45));
Try it Yourself »
Definition and Usage
The sinh()
function returns the hyperbolic sine of a number.
The hyperbolic sine is equivalent to (exp(number) - exp(-number)) / 2
.
The sinh()
function is defined in the <math.h>
header file.
Syntax
One of the following:
sinh(double number);
Parameter Values
Parameter | Description |
---|---|
number | Required. Specifies a number. |
Technical Details
Returns: | A double value representing the hyperbolic sine of a number. |
---|