Use the bisection method on f(x) = x³ − x − 1 with the starting interval [1, 2]. Find the midpoint c4 of step 4.
Numerical methods worksheet with answers
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.001?
The trapezoid rule is used for ∫02 x³ dx. The error is at most (b − a)³·M/(12n²) with M = max|f″| on [0, 2]. Find the smallest number of strips n that guarantees an error below 0.0005.
A vehicle's speed is measured every 5 s (table). Estimate the distance s travelled from t = 0 to t = 30 s with Simpson's rule.
Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = cos t − y, y(0) = 3. Find y₁ ≈ y(0.5).
Solve y′ = y(2 − y), y(0) = 0.2 with Euler's method and step h = 0.25 up to t = 1. The exact solution is y = 2y₀/(y₀ + (2 − y₀)e−2t). Find the global error |E| = |y(1) − y4|.
Answer key
- 1. c4 = 1.313
- 2. n = 12
- 3. n = 127
- 4. s = 566.7 m
- 5. y1 = 2.195
- 6. |E| = 0.1181
Full step-by-step solutions: practise this topic on examproblems.com.