What we are solvingThe equation
2x3−4x+3=0 has a root between −2 and −1
(a) Estimate it from a graph (b) Improve it by Newton-Raphson to 3 d.p.
Chapter: Numerical methods
Topic: location of roots, Newton-Raphson method
Concept and formulasThe root is where the curve
y=2x3−4x+3 cuts the x-axis
Newton-Raphson
xn+1=xn−f′(xn)f(xn)f(x)=2x3−4x+3,f′(x)=6x2−4(a) (6 marks)Table of values
| x | −2.0 | −1.8 | −1.6 | −1.4 | −1.2 | −1.0 |
|---|
| y | −5.000 | −1.464 | 1.208 | 3.112 | 4.344 | 5.000 |
|---|
Plot the points and draw a smooth curve
The curve crosses the x-axis at about
x0≈−1.70(b) (6 marks)Start with
x0=−1.7f(−1.7)=2(−4.913)+6.8+3=−0.026f′(−1.7)=6(2.89)−4=13.34x1=−1.7−13.34−0.026=−1.69805Second step
f(−1.69805)≈−0.00004,f′(−1.69805)≈13.300x2=−1.69805−13.300−0.00004=−1.69805x1 and
x2 agree to 3 decimal places
Answer: (a) Root ≈ −1.70 (b) Root = −1.698 (3 d.p.)
Tip: Stop when two successive values agree to the accuracy asked