Question
Question: Find the cube root of \[15\] by using the iteration method....
Find the cube root of 15 by using the iteration method.
Solution
First, we will let the cube root of 15 be equal to x. Then we will guess the initial value of the root. Then we will follow Newton-Raphson’s method of iteration and calculate the cube root of 15 up to three decimal places. According to Newton-Raphson’s method we can find approximate value as:
xn+1=xn−f′(xn)f(xn).
Complete step by step answer:
Let the cube root of 15 be x.
∴x=315
Cubing both sides we get;
⇒x3=15
Shifting the RHS to LHS we get;
⇒x3−15=0
Now let, f(x)=x3−15
We know that 23=8,33=27. So, the cube root of 15 will lie between 2 and 3.
Now we will let the initial value of the cube root as x0=2.
Now we will do iterations according to Newton-Raphson's method.
Iteration 1:
f(x0)=x03−15
Putting the value of x0 we get;
f(x0)=23−15
⇒f(x0)=−7
Now by differentiating f(x0)=x03−15, we get;
⇒f′(x0)=3x02
Putting the value of x0 we get;
⇒f′(x0)=3×22=12
Now according to the formula, we have;
xn+1=xn−f′(xn)f(xn).
Putting n=0, we get;
⇒x1=x0−f′(xn)f(x0)
Putting the values, we get;
⇒x1=2−12−7
Solving we get;
⇒x1=2.583
Iteration 2:
f(x1)=x13−15
Putting the values, we get;
⇒f(x1)=(2.583)3−15
⇒f(x1)=2.240
On differentiating f(x1)=x13−15; we get;
⇒f′(x1)=3x12
Putting the value, we get;
⇒f′(x1)=3×(2.583)2
On calculating we get;
⇒f′(x1)=20.021
Again, using the formula;
xn+1=xn−f′(xn)f(xn).
Putting n=1, we get;
⇒x2=x1−f′(x1)f(x1)
Putting the values, we get;
⇒x2=2.583−20.0212.240
Calculating we get;
⇒x2=2..471
Iteration 3:
f(x2)=x23−15
Putting the value of x2, we get;
⇒f(x2)=(2.471)3−15
⇒f(x2)=0.096
On differentiating f(x2)=x23−15, we get;
⇒f′(x2)=3x22
Putting the value, we get;
⇒f′(x2)=3(2.471)2
On calculating we get;
⇒f′(x2)=18.324
Using; xn+1=xn−f′(xn)f(xn).
Putting n=2;
⇒x3=x2−f′(x2)f(x2)
Putting the value, we get;
⇒x3=2.471−18.3240.096
Calculating we get;
⇒x3=2.466
Iteration 4:
f(x3)=x33−15
Putting the value, we get;
⇒f(x3)=(2.466)3−15
Calculating we get;
⇒f(x3)=0
Differentiating the above equation, we get;
⇒f′(x3)=3x32
Putting the value, we get;
⇒f′(x3)=3×(2.466)2
⇒f′(x3)=18.247
Using;
xn+1=xn−f′(xn)f(xn).
Putting n=3, we get;
⇒x4=x3−f′(x3)f(x3)
Putting the values, we get;
⇒x4=2.466−18.2470
⇒x4=2.466
Now since we have got the same value for two consecutive iterations so we will stop further.
Therefore, x=2.466.
Note:
One thing to keep in mind is that if the initial value is not given in the question, then we will calculate it on our own according to the question, as we have done in this question. Also, we have to continue the iteration until the value gets repeated for the two consecutive iterations.