SOLUTION: I would like to ask about how to solve cube root by using method of iteration with +,-,/,* only with Javascript? Or just simply tell me the method.

Algebra.Com
Question 766393: I would like to ask about how to solve cube root by using method of iteration with +,-,/,* only with
Answer by MathLover1(20850)   (Show Source): You can put this solution on YOUR website!
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);
}



RELATED QUESTIONS

Greeting sir,I would like to ask a question about matrices.the question is below as shown (answered by greenestamps)
I need help trying to solve this equation. The equation is t^2+81=0 would this be a... (answered by ashin,DrBeeee)
Hello, I have a few problems, and this should be easy but I'm over thinking it. f9x0 =... (answered by solver91311)
Hi! I would like to ask,is there any math problem regarding to navigation that is solved... (answered by Fombitz)
Cube root[2x-4]-2=0 How do I solve for X with a cube root? Would I cube all parts of the (answered by richard1234,stanbon)
Solve and check each of the following problems using the substitution method. x=1/5y... (answered by solver91311)
If I write √2 then within this root I put in another √2 and again and... (answered by ikleyn)
I would just like to ask why do we need to extract square root in solving for the value... (answered by stanbon)
Find the real root of the transcedental equation cos x - 3x + 1 = 0 correct to four... (answered by KMST)