C examples for math.h:sinh
function
<cmath> <ctgmath> <math.h>
long double sinhl (long double x); long double sinh (long double x); double sinh (double x); float sinhf (float x); float sinh (float x); double sinh (T x);
Compute hyperbolic sine
Parameter | Description |
---|---|
x | Value representing a hyperbolic angle. |
Hyperbolic sine of x.
#include <stdio.h> #include <math.h> int main ()// ww w . j ava 2s . c o m { double param = log(2.0); double result = sinh (param); printf ("The hyperbolic sine of %f is %f.\n", param, result ); return 0; }