> 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/it/riferimento-sintassi/general/logarithms-and-roots.md).

# Logaritmi e Radici

### Radice Quadrata e Cubica

| Funzione | Nome            | Comportamento                                         |
| -------- | --------------- | ----------------------------------------------------- |
| sqrt()   | Radice Quadrata | Restituisce la radice quadrata di un numero (anche √) |
| cbrt()   | Radice Cubica   | Restituisce la radice cubica di un numero             |

```
sqrt(16)          | 4
cbrt(343)         | 7

radice quadrata di 81 | 9
radice cubica di 27   | 3
```

### Radice N-esima

```
root 5 di 100 | 2.5118864315
```

### Logaritmi

| Funzione       | Nome                 | Comportamento                                                                                                        |
| -------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------- |
| exp()          | Esponenziale         | Calcola il valore di e elevato a x, dove e è la base del logaritmo naturale. exp(1) restituisce il numero di Eulero. |
| ln()           | Logaritmo naturale   | Il logaritmo naturale di un numero è il suo logaritmo con base della costante matematica e.                          |
| log2()         | Logaritmo in base 2  | Calcola il logaritmo in base 2 di un valore                                                                          |
| log(), log10() | Logaritmo in base 10 | Calcola il logaritmo in base 10 di un valore                                                                         |

### Logaritmo in Base Arbitraria

```
log 20 base 4 | 2.1609640474
```

È possibile utilizzare anche frasi più naturali per questa operazione:

```
81 è a che potenza di 9     | 2
27 è a che potenza di 3 | 3
```

### Fattoriale e Valore Assoluto

| Funzione | Nome            | Comportamento                                                                        |
| -------- | --------------- | ------------------------------------------------------------------------------------ |
| abs()    | Valore assoluto | Restituisce il valore assoluto di un numero (cioè rende un numero negativo positivo) |
| fact()   | Fattoriale      | Restituisce il fattoriale di un numero dato.                                         |


---

# 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/it/riferimento-sintassi/general/logarithms-and-roots.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.
