Python – Find Hyperbolic Cosine – cosh() Function with Examples

cosh() function is used to find the hyperbolic cosine of the given value. Hyperbolic cosine is an important Trigonometric notation which is very helpful for solving different mathematical or trigonometrical problems.

Syntax of cosh() Function

The syntax of cosh() function in Python is:

Here x is the input value.


Parameters of cosh() Function in Python

x – Where x is an angle that is use as an argument. This parameter is required.
Note: If the x parameter is not a number, cosh() function will return an Error. If the passed number outside the range, the compiler will show a math range error.



cosh() function is available and compatible with both Python 2.x and 3.x. This function is a part of python standard math library.


Return Value of cosh() Function in Python

cosh() function returns the hyperbolic cosine of x which is an input value (angle) that a user passed to find its hyperbolic cosine.


Python cosh() Function Example