Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 1. Find x2.
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.005?
The trapezoid rule is used for ∫12 1/x dx. The error is at most (b − a)³·M/(12n²) with M = max|f″| on [1, 2]. Find the smallest number of strips n that guarantees an error below 1 × 10⁻⁵.
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.001.
Take one step of the classical Runge–Kutta method (RK4) with h = 0.2 for y′ = cos t − y, y(0) = 3. Find y₁ ≈ y(0.2).
Take one step of the classical Runge–Kutta method (RK4) with h = 0.2 for y′ = t² + y², y(0) = 1. Find y₁ ≈ y(0.2).
Answer key
- 1. x2 = 0.567
- 2. n = 10
- 3. n = 130
- 4. n = 90
- 5. y1 = 2.636
- 6. y1 = 1.253
Full step-by-step solutions: practise this topic on examproblems.com.