Write a program to find cube root of a given number using cbrt(double a) method in java
Answers
Hope it help u ,
Example 1
Example 1public class CbrtExample1.
Example 1public class CbrtExample1.{
Example 1public class CbrtExample1.{public static void main(String[] args)
Example 1public class CbrtExample1.{public static void main(String[] args){
Example 1public class CbrtExample1.{public static void main(String[] args){double x = 729;
Example 1public class CbrtExample1.{public static void main(String[] args){double x = 729;//return the cube root of x.
Example 1public class CbrtExample1.{public static void main(String[] args){double x = 729;//return the cube root of x.System.out.println(Math.cbrt(x));
Example 1public class CbrtExample1.{public static void main(String[] args){double x = 729;//return the cube root of x.System.out.println(Math.cbrt(x));}