I need to know how to do cube roots on scratch. If someone can tell me me how it would help me a lot. Just in case you want to know what variables there are and what you might need to know... you have the number that needs to get the cube root in a variable, you can add any amount of variables as you like, and you need to set up a formula so that it can take any number. Thanks!
Offline
You can get the cube root of a variable (let's call it x) using the Scratch operators by doing this:
10^((log x)/3)
You're taking the base 10 logarithm (log), dividing it by 3, and then taking the inverse log by raising 10 to the power of it. The result is the cube root. Of course, if you want the fourth or fifth root, you could replace the 3 with 4 or 5
Offline