Javatpoint Logo
Javatpoint Logo

C++ Math sinh()

The function computes the hyperbolic sine of an angle given in radian.

Mathematically,

sinhx = (ex-e-x/2

Syntax

Suppose the hyperbolic angle is x:

Parameter

x: The value representing the hyperbolic anle.

Return value

It returns the hyperbolic sine of an angle.

Example 1

Let's see a simple example.

Output:

Value of degree is: 90
sinh(radian): 2.2993   

In this example, sinh() function computes the hyperbolic sine of an angle 90 and returns the value 2.2993

Example 2

Let's see another simple example.

Output:

Value of degree is :56.4
sinh(radian): 1.15046   

In this example, sinh() function computes the hyperbolic sine of angle 56.4 and returns the value 1.15.


Next TopicC++ Math Functions





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA