Calculate hyperbolic cosine:how to use cosh : Cos ACos « Math « C / ANSI-C






Calculate hyperbolic cosine:how to use cosh



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

#define PI 3.14159265

int main ()
{
  double p, result;
  
  p = 45;
  
  result = cosh ( p * PI / 180);
  
  printf ("Hyperbolic cosine of %lf degrees = %lf\n", p, result );
  
  return 0;
}



           
       








Related examples in the same category

1.How to use acosHow to use acos
2.How to use cosHow to use cos
3.How to use coshHow to use cosh
4.Calculate arccosine: acos Calculate arccosine: acos
5.Calculate cosine: how to use cos Calculate cosine: how to use cos