C cosh() Function

Last Updated:

C cosh()

The cosh() function returns the hyperbolic cosine of the given number.

This function is defined in <math.h> header file.

Example

C Compiler
#include <stdio.h> #include <math.h> int main() { printf("%lf", cosh(3)); return 0; }

Syntax

cosh(data_type x)

Parameter Values

ValueTypeExplanation
x Required Specifies a number.

Return Value

ValueExplanation
Number Returns the hyperbolic cosine of the given number.

Share this Page

Meet the Author