I’m not very good with the math in roblox or in real life, so I was wondering if this is even possible.

4 Likes

All you have to do to cube root is this:

```
function cubeRoot(x)
return (x ^ (1 / 3))
end
```

Then just simply call the function and you will have your result.

```
cubeRoot(40) = 3.4199518933534
```

8 Likes

`number ^ (1/3)`

This is how you do the cube root

```
print(64 ^ (1/3)) -- 4
```

2 Likes

Yes, so as @ozdx and @Raretendoblox showed, taking a cube root of a number is that number raised to 1/3.

The general formula is: n ^ (1 / x)

Where n is the number you want to manipulate, and x is the root you’re taking (fourth root = 4, fifth = 5, etc).

8 Likes

Thanks a lot for the help everyone

2 Likes