> For the complete documentation index, see [llms.txt](https://documentation.soulver.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.soulver.app/syntax-reference/general/trigonometry.md).

# Trigonometry & Constants

### Mathematical constants

| Name                   | Value           |
| ---------------------- | --------------- |
| Pi or π                | 3.1415926536…   |
| Tau (2pi)              | 6.2831853072... |
| Phi (the golden ratio) | 1.6180339887... |

### Trigonometric functions

| Function | Name                                           |
| -------- | ---------------------------------------------- |
| sin()    | Calculate the sine of a value                  |
| sinh()   | Calculate the hyperbolic sine of a value       |
| asinh()  | Calculate the hyperbolic arcsine of a value    |
| cos()    | Calculate the cosine of a value                |
| cosh()   | Calculate the hyperbolic cosine of a value     |
| acosh()  | Calculate the hyperbolic arccos of a value     |
| tan()    | Calculate the tangent of a value               |
| tanh()   | Calculate the hyperbolic tangent of a value    |
| atanh()  | Calculate the hyperbolic arctangent of a value |

{% hint style="info" %}
Trigonometric functions take a value in radians by default.

If you want to use degrees, specify this in the parameter, or append "d" to the function name:

sin(90 degrees) = 1.0

sind(90) = 1.0
{% endhint %}

### Inverse trigonometric functions

| Function | Name                                     |
| -------- | ---------------------------------------- |
| asin()   | Calculate the inverse sine of a value    |
| acos()   | Calculate the inverse cosine of a value  |
| atan()   | Calculate the inverse tangent of a value |

{% hint style="info" %}
Inverse trigonometric functions return a value in radians by default.

If you want to use degrees, specify this in the parameter, or append "d" to the function name:

asin(0.5 degrees) = 30º

asind(0.5) = 30º
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://documentation.soulver.app/syntax-reference/general/trigonometry.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
