Apply Newton–Raphson to f(x) = x³ + 2x − 5 with the starting value x₀ = 1. Find x2.
Numerical methods worksheet with answers
1.Easy
f(x) = x³ + 2x − 5f′(x) = 3x² + 2x₀ = 1
x2 =
2.Easy
Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 0.5. Find x2.
f(x) = e−x − xf′(x) = −e−x − 1x₀ = 0.5
x2 =
3.Medium
A vehicle's speed is measured every 1 s (table). Estimate the distance s travelled from t = 0 to t = 6 s with Simpson's rule.
h = 1 sn = 6
s = m
4.Medium
Approximate ∫02 1/√(1 + x⁴) dx with the trapezoid rule using n = 3 strips. Give T.
f(x) = 1/√(1 + x⁴)[a, b] = [0, 2]n = 3
T =
5.Hard
Solve y′ = −2ty, y(0) = 1 with Euler's method and step h = 0.5 up to t = 2. The exact solution is y = y₀e−t². Find the global error |E| = |y(2) − y4|.
y′ = −2tyy(0) = 1h = 0.5
|E| =
6.Hard
Use Heun's method (improved Euler) with h = 0.2 for y′ = t + y, y(0) = 0.5 to estimate y2 ≈ y(0.4).
y′ = t + yy(0) = 0.5h = 0.2
y2 =
Answer key
- 1. x2 = 1.331
- 2. x2 = 0.5671
- 3. s = 74.33 m
- 4. T = 1.35
- 5. |E| = 0.01832
- 6. y2 = 0.8326
Full step-by-step solutions: practise this topic on examproblems.com.