# Trigonometric Functions

#### <mark style="color:purple;">SIN(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Calculate the sine of the given argument, which must be in radians.

```sql
> select sin(randians(90));
1
```

#### <mark style="color:purple;">SINH(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Calculate the hyperbolic sine of its argument.

Support datatype: INT/DOUBLE

```sql
> select sinh(-0.2);
-0.20133600254109402
```

#### <mark style="color:purple;">COS(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Calculate the cosine of the given argument, which must be in radians.

```sql
> select cos(degrees(45));
0.7071067811865476
```

#### <mark style="color:purple;">COSH(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Calculate the hyperbolic cosine of its argument.

```sql
> select cosh(-5)
74.20994852478785
```

#### <mark style="color:purple;">ACOSH(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Calculate the hyperbolic cosine of its argument.

```sql
> select acosh(1.5)
0.9624236501192069
```

#### <mark style="color:purple;">TANH(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Computes the hyperbolic tangent of the `expr`

```sql
> select tanh(3.5);
0.9981778976111987
```

#### <mark style="color:purple;">COT(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Calculate the cotangent of the given argument, which must be in radians.

```sql
> select cot(100);
-1.702956919426469
```

#### <mark style="color:purple;">DEGREES(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Converts radians to degrees.

```sql
> select degrees(1);
57.29577951308232
```

#### <mark style="color:purple;">RADIANS(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Converts degrees to radians.

```sql
> select radians(1);
1.0471975511965976
```

#### <mark style="color:purple;">PI(</mark> <mark style="color:purple;">)</mark> &#x20;

Returns the value of pi as float

```sql
> select pi() 
3.141592654
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.e6data.com/product-documentation/~/changes/0iCkDjvnPldS7yucryRX/sql-command-reference/mathematical-functions-and-operators/trigonometric-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
