Math and Physics MastersA Level Mathematics · Worksheet
Numerical Methods
Pure: Numerical methods · 6 questions · step-by-step answers at the end
Name:Date:Score: / 6
Useful equations
xn+1 = g(xn)xn+1 = xn − f(xn)/f′(xn)∫ ≈ (h/2)[y0 + 2(y1 + … + yn−1) + yn]f(a)f(b) < 0 ⇒ root in (a, b)
Questions
Show your working in the space under each question.
1.EasyShow that x2 − 5 = 0 has a root between 2 and 3.
2.EasyUse the trapezium rule with 2 strips to estimate ∫02 x3 dx.
3.MediumUse xn+1 = (xn2 + 2)/5 with x0 = 0 to find a root of x2 − 5x + 2 = 0 to 2 decimal places.
4.MediumUse Newton–Raphson on f(x) = x2 − 2 from x0 = 1 to find √2 to 4 decimal places.
5.HardUse the trapezium rule with 4 strips to estimate ∫13 (1/x) dx.
6.HardExplain why Newton–Raphson fails for f(x) = x3 − 3x + 1 with x0 = 1.
Step-by-step answers
Numerical Methods
1.f(2) = −1 and f(3) = 4: a sign change in a continuous function, so there is a root in (2, 3).
2.h = 1, ordinates 0, 1, 8. (1/2)[0 + 2(1) + 8] = 5 (the exact value is 4; the curve is concave up, so this is an overestimate).
3.x1 = 0.4, x2 = 0.432, x3 = 0.4373, x4 = 0.4382. x ≈ 0.44.
4.xn+1 = xn − (xn2 − 2)/(2xn): 1.5, 1.4167, 1.4142. √2 ≈ 1.4142.
5.h = 0.5, ordinates 1, 0.6667, 0.5, 0.4, 0.3333. (0.5/2)[1 + 0.3333 + 2(1.5667)] = 0.25 × 4.4667 = 1.117 (exact: ln 3 = 1.099).
6.f′(x) = 3x2 − 3, so f′(1) = 0. The formula divides by zero: the tangent at x = 1 is horizontal and never meets the x-axis.