# COSH

> Calculate the hyperbolic cosine of a number, returning the result using SQL in StackQL.

Source: https://stackql.io/language-spec/functions/math/trigonometric/cosh

Calculates the hyperbolic cosine of a specified value.

See also:  
[[`SELECT`]](/language-spec/select)

* * * 

## Syntax

```sql
SELECT COSH(value) FROM <multipartIdentifier>;
```

## Arguments

__*value*__  
A numeric expression for which the hyperbolic cosine is to be calculated.

## Return Value(s)
Returns the hyperbolic cosine of the specified value.

* * *

## Examples

### Calculate the hyperbolic cosine of 1

```sql
SELECT COSH(1) AS hyperbolic_cosine_value;
```

This query returns approximately `1.5431`, as the hyperbolic cosine of 1 is about 1.5431.

### Calculate the hyperbolic cosine of 0

```sql
SELECT COSH(0) AS hyperbolic_cosine_value;
```

This query calculates the hyperbolic cosine of 0, resulting in `1`, since the hyperbolic cosine of 0 is exactly 1.
