Use the bisection method on f(x) = e−x − x with the starting interval [0, 1]. Find the midpoint c3 of step 3.
Numerical methods worksheet with answers
1.Easy
f(x) = e−x − x[a, b] = [0, 1]n = 3
c3 =
2.Easy
Apply Newton–Raphson to f(x) = ln x + x − 2 with the starting value x₀ = 2. Find x2.
f(x) = ln x + x − 2f′(x) = 1/x + 1x₀ = 2
x2 =
3.Medium
Approximate ∫02 1/√(1 + x⁴) dx with Simpson's rule using n = 4 strips. Give S.
f(x) = 1/√(1 + x⁴)[a, b] = [0, 2]n = 4
S =
4.Medium
Approximate ∫01 √x·e−x dx with Simpson's rule using n = 4 strips. Give S.
f(x) = √x·e−x[a, b] = [0, 1]n = 4
S =
5.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = cos t − y, y(0) = 0.5. Find y₁ ≈ y(0.5).
y′ = cos t − yy(0) = 0.5h = 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. c3 = 0.625
- 2. x2 = 1.557
- 3. S = 1.36
- 4. S = 0.3683
- 5. y1 = 0.6783
- 6. y3 = 1.27
Full step-by-step solutions: practise this topic on examproblems.com.