> 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/ja/rifarensu/general/logarithms-and-roots.md).

# 対数と根

### 平方根と立方根

| 関数     | 名称  | 動作                        |
| ------ | --- | ------------------------- |
| sqrt() | 平方根 | 数値の平方根を返します（$\sqrt{}$も含む） |
| cbrt() | 立方根 | 数値の立方根を返します               |

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

81の平方根 | 9
27の立方根 | 3
```

### N乗根

```
100の5乗根 | 2.5118864315
```

### 対数

| 関数             | 名称     | 動作                                                   |
| -------------- | ------ | ---------------------------------------------------- |
| exp()          | 指数関数   | $e$ の $x$ 乗の値（$e$ は自然対数の底）を計算します。exp(1) はオイラー数を返します。 |
| ln()           | 自然対数   | ある数値の自然対数は、数学定数 $e$ を底とする対数です。                       |
| log2()         | 底2の対数  | 値の底2の対数を計算します。                                       |
| log(), log10() | 底10の対数 | 値の底10の対数を計算します。                                      |

### 任意の底への対数

```
20を底4で対数 | 2.1609640474
```

この操作には、より自然なフレーズを使用することもできます。

```
81は何乗の9か | 2
27は何乗の3か | 3
```

### 階乗と絶対値

| 関数     | 名称  | 動作                         |
| ------ | --- | -------------------------- |
| abs()  | 絶対値 | 数値の絶対値を返します（つまり、負の数を正にします） |
| fact() | 階乗  | 指定された数値の階乗を返します。           |


---

# 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/ja/rifarensu/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.
