Easy Tutorial
❮ Python Func Number Abs Python Leap Year ❯

Python math.sinh() Method

Python math Module

Python math.sinh(x) returns the hyperbolic sine of x.

Python Version: 1.4

Syntax

The syntax for the math.sinh() method is as follows:

math.sinh(x)

Parameter Description:

Return Value

Returns a floating-point number representing the hyperbolic sine of a number.

Example

The following example returns the hyperbolic sine of different numbers:

Example

# Import math package
import math

# Output hyperbolic sine 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))

Output result:

0.0
-7641446994.979367
4872401723.124452
1.1752011936438014
11.548739357257746

Python math Module

❮ Python Func Number Abs Python Leap Year ❯