Home > Numerical methods calculators > Newton Raphson method example

3. Newton Raphson method example ( Enter your problem )
  1. Algorithm & Example-1 `f(x)=x^3-x-1`
  2. Example-2 `f(x)=2x^3-2x-5`
  3. Example-3 `x=sqrt(12)`
  4. Example-4 `x=root(3)(48)`
  5. Example-5 `f(x)=x^3+2x^2+x-1`
Other related methods
  1. Bisection method
  2. False Position method (regula falsi method)
  3. Newton Raphson method
  4. Fixed Point Iteration method
  5. Secant method
  6. Muller method
  7. Halley's method
  8. Steffensen's method
  9. Ridder's method

1. Algorithm & Example-1 `f(x)=x^3-x-1`
(Previous example)
3. Example-3 `x=sqrt(12)`
(Next example)

2. Example-2 `f(x)=2x^3-2x-5`





Find a root of an equation `f(x)=2x^3-2x-5` using Newton Raphson method

Solution:
Here `2x^3-2x-5=0`

Let `f(x) = 2x^3-2x-5`

`:. f'(x) = 6x^2-2`

Here
`x`012
`f(x)`-5-57



Here `f(1) = -5 < 0 and f(2) = 7 > 0`

`:.` Root lies between `1` and `2`

`x_0 = (1 + 2)/2 = 1.5`


`1^(st)` iteration :

`f(x_0)=f(1.5)=2*1.5^(3)-2*1.5-5=-1.25`

`f'(x_0)=f'(1.5)=6*1.5^(2)-2=11.5`

`x_1 = x_0 - f(x_0)/(f'(x_0))`

`x_1 = 1.5 - (-1.25)/(11.5)`

`x_1 = 1.6087`


`2^(nd)` iteration :

`f(x_1)=f(1.6087)=2*1.6087^(3)-2*1.6087-5=0.1089`

`f'(x_1)=f'(1.6087)=6*1.6087^(2)-2=13.52741`

`x_2 = x_1 - f(x_1)/(f'(x_1))`

`x_2 = 1.6087 - (0.1089)/(13.52741)`

`x_2 = 1.60065`


`3^(rd)` iteration :

`f(x_2)=f(1.60065)=2*1.60065^(3)-2*1.60065-5=0.00062`

`f'(x_2)=f'(1.60065)=6*1.60065^(2)-2=13.37239`

`x_3 = x_2 - f(x_2)/(f'(x_2))`

`x_3 = 1.60065 - (0.00062)/(13.37239)`

`x_3 = 1.6006`


`4^(th)` iteration :

`f(x_3)=f(1.6006)=2*1.6006^(3)-2*1.6006-5=0`

`f'(x_3)=f'(1.6006)=6*1.6006^(2)-2=13.37149`

`x_4 = x_3 - f(x_3)/(f'(x_3))`

`x_4 = 1.6006 - (0)/(13.37149)`

`x_4 = 1.6006`


Approximate root of the equation `2x^3-2x-5=0` using Newton Raphson method is `1.6006`

`n``x_0``f(x_0)``f'(x_0)``x_1`Update
11.5-1.2511.51.6087`x_0 = x_1`
21.60870.108913.527411.60065`x_0 = x_1`
31.600650.0006213.372391.6006`x_0 = x_1`
41.6006013.371491.6006`x_0 = x_1`



This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



1. Algorithm & Example-1 `f(x)=x^3-x-1`
(Previous example)
3. Example-3 `x=sqrt(12)`
(Next example)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.