# C math library function sinh()

In this tutorial, you will learn about C math library function sinh() that computes the hyperbolic sine of the argument.

`sinh()` is the standard C math library function that is defined in math library `math.h`.

``#include<math.h>``

## Function prototype of C math library function sinh()

``double sinh( double x );``

where,

x = floating point value of any range

### Return Value of sinh()

This function returns the hyperbolic sine value of `x.`

The return type is double.

## Example: Program to demonstrate the use of C math library function sinh()

``````/*Use of math library function sinh()*/

#include<stdio.h>
#include<math.h>

int main()
{
double x ;

x = 0.3;

//calculation of hyperbolic sine
printf("\nsinh( %.3lf ) = %.3lf \n", x, sinh( x ));

x = -0.5;
//calculation of hyperbolic sine
printf("\nsinh( %.3lf ) = %.3lf \n", x, sinh( x ));

x = 1.5;
//calculation of hyperbolic sine
printf("\nsinh( %.3lf ) = %.3lf \n", x, sinh( x ));

return 0;
}
``````

Output

Explanation

In the above program, we have calculated the hyperbolic sine of `x`.