sinh()
function is used to find the the hyperbolic sine of the given input (x
– parameter). sinh() is a part of python programming language and very helpful for finding he hyperbolic of sine.
Syntax of sinh()
Function
The syntax of sinh()
function in Python is:
math.sinh(x)
Parameters of sinh()
Function in Python
x
– Where x
is any valid python number (positive or negative). This parameter is required.Note: If the
x
parameter is not a number, sinh()
function will return an Error.
Compatibility
sinh()
function is available and compatible with both Python 2.x
and 3.x
. This function is a part of python standard math library.
Return Value of sinh()
Function in Python
sinh()
function returns the hyperbolic sine of x
.
Python sinh()
Function Example
# import math library import math print(math.sinh(-0.2)) print(math.sinh(0)) print(math.sinh(5.2)) print(math.sinh(67)) print(math.sinh(-35))
Output:
-0.201336002541094
0.0
90.63336265536523
6.2618158542110685e+28
-793006726156715.4