Python math.sinh() – Hyperbolic Sine

Python math.sinh()

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

sinh(x) = (e^2x – 1)/(2*e^x)

Syntax

The syntax to call sinh() function is

math.sinh(x)

where

Parameter Required Description
x Yes A numeric value.

Examples

In the following example, we find the hyperbolic sine of 2, using sinh() function of math module.

Python Program

import math

x = 2
result = math.sinh(x)
print('sinh(x) :', result)
Run Code

Output

sinh(x) : 3.6268604078470186

Summary

In this Python Examples tutorial, we learned the syntax of, and examples for math.sinh() function.

Related Tutorials

Privacy Policy Terms of Use

SitemapContact Us