# Root

## Overview

![The Root Node.](/files/rMc6CLnHFqoiq7idfJsB)

**Root** calculates the *nth root* of a number, where *n* is called the *degree of the root*. This **Node** outputs the number which, when raised to the *nth power*, yields the *base* given as input.

The most common example of **Root** operations is finding the *square* (degree 2) root, or *cubic* (degree 3) *root* of a number. However, this can also be used for higher degrees.

| `Base` | `Degree` | `Output` |
| ------ | -------- | -------- |
| 9      | 2        | 3        |
| 13824  | 3        | 24       |
| 160000 | 4        | 20       |
| 1024   | 10       | 2        |

[**Scope**](/incari-studio/2023.2/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Root Node Attributes.](/files/fpUKj6Nfw35J53Ior0Tz)

| Input            | Type      | Description                                                                        |
| ---------------- | --------- | ---------------------------------------------------------------------------------- |
| `Default Base`   | **Float** | The default value of `Base`, if no value is provided in the `Base` **Socket**.     |
| `Default Degree` | **Float** | The default value of `Degree`, if no value is provided in the `Degree` **Socket**. |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Base`            | **Float** | The value you want to find the *nth root* of.                         |
| `Degree`          | **Float** | The degree of the root.                                               |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard output **Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Output`           | **Float** | The *nth root* (defined in `Degree`) of `Base`.                                                                                        |

## See Also

* [**Power**](/incari-studio/2023.2/toolbox/math/power.md)

## External Links

* [*Root*](https://www.mathopenref.com/root.html) on Math Open Reference.
* [*nth root*](https://en.wikipedia.org/wiki/Nth_root) on Wikipedia.


---

# 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://docs.incari.com/incari-studio/2023.2/toolbox/math/root.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.
