Professional Documents
Culture Documents
4newton Raphson Method
4newton Raphson Method
Solution:
Here 2x3-2x-5=0
Let f(x)=2x3-2x-5
d/dx(2x3-2x-5) = 6x2-2
∴f′’(x)=6x2-2
Here
x 0 1 2
f(x) -5 -5 7
x0=1.5
1st iteration :
x1 = x0 - f(x0)/f′’(x0)
x1 = 1.5 – (-1.25/11.5)
x1 = 1.6087
2nd iteration :
x2 = x1 - f(x1)/f′’(x1)
x2 = 1.6087 - 0.1089/13.5274
x2=1.6006
3rd iteration :
x3 = x2- f(x2)/f′’(x2)
x3 = 1.6006 - 0.0006/13.3724
x3 = 1.6006
4th iteration :
x4 = x3 - f(x3)/f′’(x3)
x4 = 1.6006 - 0/13.3715
x4 =1.6006
Approximate root of the equation 2x3-2x-5=0 using Newton
Raphson method is 1.6006
Solution:
Here x-cos(x) = 0
d/dx(x-cos(x)) = 1+sin(x)
∴f ′(x) = 1+sin(x)
Here
x 0 1
f(x) -1 0.4597
Here f(0) = -1<0 and f(1) = 0.4597>0
x0 = (0+1)/2 = 0.5
x0 = 0.5
1st iteration :
x1 = x0 - f(x0)/f ′(x0)
x1 = 0.5 – (-0.3776/1.4794)
x1 = 0.7552
2nd iteration :
x2 = x1 - f(x1)/f ′(x1)
x2 = 0.7552 - 0.0271/1.6855
x2 = 0.7391
3rd iteration :
x3 = x2 - f(x2)/f ′(x2)
x3 = 0.7391 - 0.0001/1.6737
x3 = 0.7391
Approximate root of the equation x-cos(x)=0 using Newton
Raphson method is 0.7391