Home >>Python math Module >Python math.sinh() Method

Python math.sinh() Method

Python math.sinh() Method

Python math.sinh() method in python is used to return the hyperbolic sine of a number and it accepts a number.

Syntax:
math.sinh(x)

Parameter Values

Parameter Description
X It is required a number to find the hyperbolic sine
Here is an Example Python math.sinh() Method:

import math  
print(math.sinh(10.12))
print(math.sinh(13.65))
print(math.sinh(-12))
print(math.sinh(13.98))
print(math.sinh(math.pi))

Output:
12417.38539739962
423730.45784721884
-81377.39570642984
589395.5619252432
11.548739357257748
Example 2:

import math 
a = -7
print(math.sinh(a))
a = 10
print(math.sinh(a))
a = 0
print(math.sinh(a))
a = -5
print( math.sinh(a))
a = 12.25
print( math.sinh(a))

Output:
-548.3161232732465
11013.232874703393
0.0
-74.20321057778875
104490.64443246393

No Sidebar ads