public class MyClass {
public static void main() {
double n = 64;
double cuberoot;
cuberoot = Math.pow(n,1/3.0);
System.out.println("Cube root is "+ cuberoot);

// to find a root just raise the number to the inverse of the power
// For example to fine the 4th root of a number raise it to the 1/4 power }
}