Apply Newton–Raphson to f(x) = x³ − x − 3 with the starting value x₀ = 2. Find x2.
Numerical methods worksheet with answers
1.Easy
f(x) = x³ − x − 3f′(x) = 3x² − 1x₀ = 2
x2 =
2.Easy
Apply Newton–Raphson to f(x) = ln x + x − 4 with the starting value x₀ = 4. Find x2.
f(x) = ln x + x − 4f′(x) = 1/x + 1x₀ = 4
x2 =
3.Medium
The trapezoid rule is used for ∫01 eˣ dx. The error is at most (b − a)³·M/(12n²) with M = max|f″| on [0, 1]. Find the smallest number of strips n that guarantees an error below 1 × 10⁻⁵.
f(x) = eˣ[a, b] = [0, 1]ε = 1 × 10⁻⁵
n =
4.Medium
Approximate ∫02 eˣ dx with the trapezoid rule, n = 4, and compare it with the exact value. Find the absolute error |E| = |T − I|.
f(x) = eˣ[a, b] = [0, 2]n = 4
|E| =
5.Hard
Use Heun's method (improved Euler) with h = 0.25 for y′ = 1 + sin(ty), y(0) = 1 to estimate y3 ≈ y(0.75).
y′ = 1 + sin(ty)y(0) = 1h = 0.25
y3 =
6.Hard
Use Euler's method with h = 0.1 for y′ = t + y, y(0) = 1 to estimate y4 ≈ y(0.4).
y′ = t + yy(0) = 1h = 0.1
y4 =
Answer key
- 1. x2 = 1.674
- 2. x2 = 2.926
- 3. n = 151
- 4. |E| = 0.1326
- 5. y3 = 2.136
- 6. y4 = 1.528
Full step-by-step solutions: practise this topic on examproblems.com.