C sinh() function
C sinh() function - Hyperbolic sine functions
Syntax:
double sinh(double x)
The sinh() function is used to calculate the hyperbolic sine of x.
Parameters:
Name | Description | Required /Optional |
---|---|---|
x | Angle in radians. | Required |
Return value from sinh()
- Returns the value of the hyperbolic sine of x.
Example: sinh() function
The following example shows the usage of sinh() function.
#include <math.h>
#include <stdio.h>
int main(void)
{
double pi, x, y;
pi = 3.1415926535;
x = pi/2;
y = sinh(x);
printf("sinh( %lf ) = %lf\n", x, y);
}
Output:
sinh( 1.570796 ) = 2.301299
C Programming Code Editor:
Previous C Programming: C sin()
Next C Programming: C tanh()
- Weekly Trends
- Python Interview Questions and Answers: Comprehensive Guide
- Scala Exercises, Practice, Solution
- Kotlin Exercises practice with solution
- MongoDB Exercises, Practice, Solution
- SQL Exercises, Practice, Solution - JOINS
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join