Apply Newton–Raphson to f(x) = ln x + x − 4 with the starting value x₀ = 1. Find x2.
Numerical methods worksheet with answers
Use the bisection method on f(x) = ln x + x − 4 with the starting interval [1, 4]. Find the midpoint c3 of step 3.
The trapezoid rule is used for ∫02 sin 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.0001.
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⁻⁵.
Use Heun's method (improved Euler) with h = 0.25 for y′ = e−ty, y(0) = 0.5 to estimate y3 ≈ y(0.75).
Solve y′ = y(2 − y), y(0) = 0.5 with Euler's method and step h = 0.5 up to t = 2. The exact solution is y = 2y₀/(y₀ + (2 − y₀)e−2t). Find the global error |E| = |y(2) − y4|.
Answer key
- 1. x2 = 2.917
- 2. c3 = 2.875
- 3. n = 82
- 4. n = 130
- 5. y3 = 1.046
- 6. |E| = 0.08412
Full step-by-step solutions: practise this topic on examproblems.com.