cosh

Overview :

The "cosh" function is used for calcution of the hyperbolic cosine value of a given input.

Syntax :
double cosh(double x);
Description :

The "cosh" function accepts 1 parameters

  • x -> The x is the number whose hyperbolic cosine value is to be found

"cosh" function return the hyperbolic cosine value of a number.

Example :
#include <stdio.h>
 #include <math.h>
 #include<conio.h>

 int main()
 {
    double x,cosh_value;
	clrscr();
	printf("\nEnter the number : ");
	scanf("%lf",&x);

    cosh_value = cosh(x);
    printf("The hperbolic cosine value is %lf\n", cosh_value);
    getch();
    return 0;
}

Comments

comments powered by Disqus