cosh
Computes the hyperbolic cosine of the argument
#include <math.h>
double cosh (
double x);
The cosh function returns the hyperbolic cosine value. When the argument is outside the permissible range, errno is set and matherr is called.
The cosh function computes the hyperbolic cosine of x. A range error occurs if the magnitude of x is too large.
#include <math.h> #include <stdio.h> main () { printf ("%f\n", cosh (.5) ); }
produces the following:
1.127626