The bisection method starts on an interval of length 3. Every step halves the interval. How many steps n are needed at least before the interval is shorter than 0.01?
Numerical methods worksheet with answers
1.Easy
b − a = 3ε = 0.01
n =
2.Easy
Use linear interpolation in the table to estimate y at x = 4.6.
x = 4.6
y =
3.Medium
A vehicle's speed is measured every 2 s (table). Estimate the distance s travelled from t = 0 to t = 10 s with the trapezoid rule.
h = 2 sn = 5
s = m
4.Medium
Approximate ∫12 1/x dx with Simpson's rule, n = 2, and compare it with the exact value. Find the absolute error |E| = |S − I|.
f(x) = 1/x[a, b] = [1, 2]n = 2
|E| =
5.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.2 for y′ = 1 + sin(ty), y(0) = 0. Find y₁ ≈ y(0.2).
y′ = 1 + sin(ty)y(0) = 0h = 0.2
y1 =
6.Hard
Use Euler's method with h = 0.1 for y′ = 1 + sin(ty), y(0) = 0 to estimate y4 ≈ y(0.4).
y′ = 1 + sin(ty)y(0) = 0h = 0.1
y4 =
Answer key
- 1. n = 9
- 2. y = 1.884
- 3. s = 131 m
- 4. |E| = 0.001297
- 5. y1 = 0.2027
- 6. y4 = 0.4142
Full step-by-step solutions: practise this topic on examproblems.com.