Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 0.5. Find x2.
Numerical methods worksheet with answers
1.Easy
f(x) = e−x − xf′(x) = −e−x − 1x₀ = 0.5
x2 =
2.Easy
Apply Newton–Raphson to f(x) = x² − 2 with the starting value x₀ = 1. Find x1.
f(x) = x² − 2f′(x) = 2xx₀ = 1
x1 =
3.Medium
Approximate ∫01.5 √(1 + x³) dx with Simpson's rule using n = 2 strips. Give S.
f(x) = √(1 + x³)[a, b] = [0, 1.5]n = 2
S =
4.Medium
Approximate ∫12 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, 2]n = 2
|E| =
5.Hard
Use Euler's method with h = 0.5 for y′ = e−ty, y(0) = 0 to estimate y5 ≈ y(2.5).
y′ = e−tyy(0) = 0h = 0.5
y5 =
6.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.2 for y′ = e−ty, y(0) = 0. Find y₁ ≈ y(0.2).
y′ = e−tyy(0) = 0h = 0.2
y1 =
Answer key
- 1. x2 = 0.5671
- 2. x1 = 1.5
- 3. S = 1.965
- 4. |E| = 0.01519
- 5. y5 = 1.238
- 6. y1 = 0.1974
Full step-by-step solutions: practise this topic on examproblems.com.