Apply Newton–Raphson to f(x) = x³ − x − 5 with the starting value x₀ = 3. Find x1.
Numerical methods worksheet with answers
1.Easy
f(x) = x³ − x − 5f′(x) = 3x² − 1x₀ = 3
x1 =
2.Easy
Apply Newton–Raphson to f(x) = x² − 3 with the starting value x₀ = 1. Find x2.
f(x) = x² − 3f′(x) = 2xx₀ = 1
x2 =
3.Medium
Approximate ∫01.5 √(1 + x³) dx with the trapezoid rule using n = 5 strips. Give T.
f(x) = √(1 + x³)[a, b] = [0, 1.5]n = 5
T =
4.Medium
Approximate ∫13 1/x dx with the trapezoid rule, n = 2, and compare it with the exact value. Find the absolute error |E| = |T − I|.
f(x) = 1/x[a, b] = [1, 3]n = 2
|E| =
5.Hard
Solve y′ = 2y, y(0) = 3 with Euler's method and step h = 0.1 up to t = 0.3. The exact solution is y = y₀e2t. Find the global error |E| = |y(0.3) − y3|.
y′ = 2yy(0) = 3h = 0.1
|E| =
6.Hard
Use Heun's method (improved Euler) with h = 0.5 for y′ = t + y, y(0) = 3 to estimate y3 ≈ y(1.5).
y′ = t + yy(0) = 3h = 0.5
y3 =
Answer key
- 1. x1 = 2.269
- 2. x2 = 1.75
- 3. T = 1.989
- 4. |E| = 0.06805
- 5. |E| = 0.2824
- 6. y3 = 14.66
Full step-by-step solutions: practise this topic on examproblems.com.