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