Root
Last updated
Last updated
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.
|
|
|
9 | 2 | 3 |
13824 | 3 | 24 |
160000 | 4 | 20 |
1024 | 10 | 2 |
Scope: Project, Scene, Function, Prefab.
Input | Type | Description |
---|---|---|
| Float | The default value of |
| Float | The default value of |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard input Pulse, to trigger the execution of the Node. |
| Float | The value you want to find the nth root of. |
| Float | The degree of the root. |
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. |
| Float | The nth root (defined in |