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

2. Example-2 `f(x)=2x^3-2x-5`
(Previous example)
4. Example-4 `x=root(3)(48)`
(Next example)

3. Example-3 `x=sqrt(12)`





Find `sqrt(12)` using Newton Raphson method

Solution:
Let `x=sqrt(12)`

`:.x^2=12`

`:.x^2-12=0`

i.e. `f(x)=x^2-12`

`d/(dx)(x^2-12)=2x`


`d/(dx)(x^2-12)`

`=d/(dx)(x^2)-d/(dx)(12)`

`=2x-0`

`=2x`


`:. f'(x) = 2x`

Here
`x`01234
`f(x)`-12-11-8-34



Here `f(3) = -3 < 0 and f(4) = 4 > 0`

`:.` Root lies between `3` and `4`

`x_0 = (3 + 4)/2 = 3.5`

`x_0 = 3.5`


`1^(st)` iteration :

`f(x_0)=f(3.5)=3.5^2-12=0.25`

`f'(x_0)=f'(3.5)=2*3.5=7`

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

`x_1=3.5 - (0.25)/(7)`

`x_1=3.4643`


`2^(nd)` iteration :

`f(x_1)=f(3.4643)=3.4643^2-12=0.0013`

`f'(x_1)=f'(3.4643)=2*3.4643=6.9286`

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

`x_2=3.4643 - (0.0013)/(6.9286)`

`x_2=3.4641`


`3^(rd)` iteration :

`f(x_2)=f(3.4641)=3.4641^2-12=0`

`f'(x_2)=f'(3.4641)=2*3.4641=6.9282`

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

`x_3=3.4641 - (0)/(6.9282)`

`x_3=3.4641`


Approximate root of the equation `x^2-12=0` using Newton Raphson method is `3.4641` (After 3 iterations)

`n``x_0``f(x_0)``f'(x_0)``x_1`Update
13.50.2573.4643`x_0 = x_1`
23.46430.00136.92863.4641`x_0 = x_1`
33.464106.92823.4641`x_0 = x_1`





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



2. Example-2 `f(x)=2x^3-2x-5`
(Previous example)
4. Example-4 `x=root(3)(48)`
(Next example)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.