Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 1. Find x1.
Numerical methods worksheet with answers
1.Easy
f(x) = e−x − xf′(x) = −e−x − 1x₀ = 1
x1 =
2.Easy
The bisection method starts on an interval of length 4. Every step halves the interval. How many steps n are needed at least before the interval is shorter than 0.01?
b − a = 4ε = 0.01
n =
3.Medium
Approximate ∫01 e−x² dx with the trapezoid rule using n = 6 strips. Give T.
f(x) = e−x²[a, b] = [0, 1]n = 6
T =
4.Medium
Approximate ∫01 eˣ dx with Simpson's rule, n = 2, and compare it with the exact value. Find the absolute error |E| = |S − I|.
f(x) = eˣ[a, b] = [0, 1]n = 2
|E| =
5.Hard
Use Heun's method (improved Euler) with h = 0.1 for y′ = 1.5y, y(0) = −1 to estimate y3 ≈ y(0.3).
y′ = 1.5yy(0) = −1h = 0.1
y3 =
6.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = e−ty, y(0) = 0.5. Find y₁ ≈ y(0.5).
y′ = e−tyy(0) = 0.5h = 0.5
y1 =
Answer key
- 1. x1 = 0.5379
- 2. n = 9
- 3. T = 0.7451
- 4. |E| = 0.0005793
- 5. y3 = −1.566
- 6. y1 = 0.9138
Full step-by-step solutions: practise this topic on examproblems.com.