Python Tutorial Python Advanced Python References Python Libraries

Python math - sinh() Function



The Python math.sinh() function returns hyperbolic sine of a value. The hyperbolic sine of x is defined as:

sinh

where e is an Euler's number.

Syntax

math.sinh(x)

Parameters

x Required. Specify the value.

Return Value

Returns the hyperbolic sine of a value.

Example:

In the example below, sinh() function is used to find out the hyperbolic sine of a value.

import math

print(math.sinh(0))
print(math.sinh(2))
print(math.sinh(4))

The output of the above code will be:

0.0
3.626860407847019
27.28991719712775

❮ Python Math Module