# 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:

```math.cosh(x)
```

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.

## Compatibility

`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

```# import math library
import math
print(math.cosh(-0.2))
print(math.cosh(0))
print(math.cosh(0.2))
print(math.cosh(120))
print(math.cosh(1.336))
```

Output:
```1.020066755619076 1.0 1.020066755619076 6.520904391968161e+51 2.0333464959064824```