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

Python cmath.sinh() Method

Python cmath.sinh() Method

Python cmath.sinh() method returns a complex number with the hyperbolic sine.

Syntax:
cmath.sinh(x)

Parameter Values

Parameter Description
x It is a required parameter to find the hyperbolic sine of a number
Here is an example of Python cmath.sinh() Method:

import cmath
print (cmath.sinh(1 + 3j))

Output:
(-1.1634403637032504+0.21775955162215221j)
Example 2:

import cmath
print (cmath.sinh(2 + 2j))

Output:
(-1.5093064853236158+3.4209548611170133j)

No Sidebar ads