### cosh -- Calculate Hyperbolic Cosine

Format

>     #include <math.h>
>     double cosh(double x);

Language Level: ANSI, POSIX, XPG4
cosh calculates the hyperbolic cosine of x. The value x is expressed in radians.

Return Value
cosh returns the hyperbolic cosine of x. If the result is too large, cosh returns the value HUGE_VAL and sets errno to

Example
This example calculates y to be the hyperbolic cosine of x.

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

    int main(void)
    {
       double x,y;

       x = 7.2;
       y = cosh(x);

       printf("cosh( %lf ) = %lf\n", x, y);

       /**************************************
         The output should be:

         cosh( 7.200000 ) = 669.715755
       **************************************/
    }

acos -- Calculate Arccosine
cos -- Calculate Cosine
_facos -- Calculate Arccosine
_fcos -- Calculate Cosine
_fcossin -- Calculate Cosine and Sine
_fsincos -- Calculate Sine and Cosine
sin -- Calculate Sine
sinh -- Calculate Hyperbolic Sine
tan -- Calculate Tangent
tanh -- Calculate Hyperbolic Tangent
<math.h>