Python math.sinh() Method
Example
Find the hyperbolic sine of different numbers:
# Import math Library
import math
# Return the hyperbolic sine of different
values
print(math.sinh(0.00))
print(math.sinh(-23.45))
print(math.sinh(23))
print(math.sinh(1.00))
print(math.sinh(math.pi))
Try it Yourself »
Definition and Usage
The math.sinh() method returns the hyperbolic sine of a number.
Syntax
math.sinh(x)
Parameter Values
| Parameter | Description |
|---|---|
| x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Technical Details
| Return Value: | A float value, representing the
hyperbolic sine of a number |
|---|---|
| Python Version: | 1.4 |
