C sinh Function

The C sinh function is a Math Function, used to calculate the Trigonometric Hyperbolic Sine of a given value or specified expression. The syntax of the sinh in C Programming is

double sinh(double number);

C sinh Function Example

The math sinh Function allows you to find the Hyperbolic Sine of a given value. In this program, We are going to find the Hyperbolic Sine of different values, and display the output.

/* Example for SINH in C Programming */

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

int main()
{ 
    printf("\n The Hyperbolic Sine Value of 0      = %.4f ", sinh(0));
    printf("\n The Hyperbolic Sine Value of 1      = %.4f ", sinh(1));
    
    printf("\n The Hyperbolic Sine Value of 6.25   = %.4f ", sinh(6.25));
    printf("\n The Hyperbolic Sine Value of 2.59   = %.4f ", sinh(2.59));
    
    printf("\n The Hyperbolic Sine Value of -7.23  = %.4f ", sinh(-7.23));
    printf("\n The Hyperbolic Sine Value of -4.32  = %.4f ", sinh(-4.32));
    
    return 0;
}
C sinh Function 1

C sinh Example 2

In this C Programming example, we are allowing the user to enter their value. Next, this program used the sinh function to find the hyperbolic sine of a user given number.

/* Example for SINH in C Programming */

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

int main()
{
    float number, sinhValue;

    printf(" Please Enter any Numeric Value :  ");
    scanf("%f", &number);
  
    sinhValue = sinh(number);
  
    printf("\n The Hyperbolic Sine Value of %.2f = %.4f ", number, sinhValue);
  
    return 0;
}
 Please Enter any Numeric Value :  12.56

 The Hyperbolic Sine Value of 12.56 = 142465.2344