Question 766393
go to
http://www.math.utah.edu/~treiberg/M1225L5.txt
 there are good explanation of this method


I know something about C++, not Java,but I was curious to find something that might help you. Here is one code I found, try it:

package mypkg;

//// Mikey
public class Main
{

	public static void main(String[] args)
	{
		cubeIT(12.0);
	}
	public static void cubeIT(double a)
	{
	  double x = a/2;
	  double XX;
	  for (int i = 0; i <5; i++)
	  {
		x = x * ((x*x*x) + a + a) / (x*x*x + x*x*x + a);
		System.out.print(x);
	  }
	  System.out.printf("%8.4f\n",x);
	}