# Logarithmen & Wurzeln

### Quadrat- und Kubikwurzel

| Funktion | Name          | Verhalten                                         |
| -------- | ------------- | ------------------------------------------------- |
| sqrt()   | Quadratwurzel | Gibt die Quadratwurzel einer Zahl zurück (auch √) |
| cbrt()   | Kubikwurzel   | Gibt die Kubikwurzel einer Zahl zurück            |

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

quadratwurzel von 81 | 9
kubikwurzel von 27   | 3
```

### N-te Wurzel

```
root 5 of 100 | 2.5118864315
```

### Logarithmen

| Funktion       | Name                     | Verhalten                                                                                                                  |
| -------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| exp()          | Exponential              | Berechnet den Wert von e hoch x, wobei e die Basis des natürlichen Logarithmus ist. exp(1) gibt die Eulersche Zahl zurück. |
| ln()           | Natürlicher Logarithmus  | Der natürliche Logarithmus einer Zahl ist ihr Logarithmus zur Basis der mathematischen Konstante e.                        |
| log2()         | Logarithmus zur Basis 2  | Berechnet den Logarithmus zur Basis 2 eines Wertes                                                                         |
| log(), log10() | Logarithmus zur Basis 10 | Berechnet den Logarithmus zur Basis 10 eines Wertes                                                                        |

### Logarithmus zu beliebiger Basis

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

Sie können auch ausdrucksreichere Formulierungen für diese Operation verwenden:

```
81 ist 9 zu welcher Potenz     | 2
27 ist 3 zu welcher Potenz | 3
```

### Fakultät & Betrag

| Funktion | Name     | Verhalten                                                                 |
| -------- | -------- | ------------------------------------------------------------------------- |
| abs()    | Betrag   | Gibt den Betrag einer Zahl zurück (d.h. macht eine negative Zahl positiv) |
| fact()   | Fakultät | Gibt die Fakultät einer gegebenen Zahl zurück.                            |


---

# 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/de/syntax-referenz/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.
