English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
C Library Function double sinh(double x) Returns x hyperbolic sine.
Below is the declaration of the sinh() function.
double sinh(double x)
x -- Floating-point value.
This function returns the hyperbolic sine of x.
The following example demonstrates the usage of the sinh() function.
#include <stdio.h> #include <math.h> #define PI 3.141592654 int main() { double angle = 2.50, result; result = sinh(angle); printf("%.2Hyperbolic sine (in radians) of 'lf' = %.2lf", angle, result); return 0; }
Let's compile and run the above program, which will produce the following result:
%.2Hyperbolic sine (in radians) of 'lf' = 2.50