// Find the cube root of given input(double) double x = 27; double result = java.lang.Math.cbrt(x); System.out.println(result);