Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 0.5. Find x1.
Numerical methods worksheet with answers
1.Easy
f(x) = e−x − xf′(x) = −e−x − 1x₀ = 0.5
x1 =
2.Easy
Use the bisection method on f(x) = x³ + 2x − 5 with the starting interval [1, 2]. Find the midpoint c3 of step 3.
f(x) = x³ + 2x − 5[a, b] = [1, 2]n = 3
c3 =
3.Medium
A vehicle's speed is measured every 5 s (table). Estimate the distance s travelled from t = 0 to t = 20 s with the trapezoid rule.
h = 5 sn = 4
s = m
4.Medium
A vehicle's speed is measured every 2 s (table). Estimate the distance s travelled from t = 0 to t = 12 s with Simpson's rule.
h = 2 sn = 6
s = m
5.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = 1 + sin(ty), y(0) = 1. Find y₁ ≈ y(0.5).
y′ = 1 + sin(ty)y(0) = 1h = 0.5
y1 =
6.Hard
Use Heun's method (improved Euler) with h = 0.2 for y′ = 1 + sin(ty), y(0) = 0.5 to estimate y3 ≈ y(0.6).
y′ = 1 + sin(ty)y(0) = 0.5h = 0.2
y3 =
Answer key
- 1. x1 = 0.5663
- 2. c3 = 1.375
- 3. s = 242.5 m
- 4. s = 170 m
- 5. y1 = 1.667
- 6. y3 = 1.27
Full step-by-step solutions: practise this topic on examproblems.com.