Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 0.5. Find x2.
Numerical methods worksheet with answers
The bisection method starts on an interval of length 0.5. Every step halves the interval. How many steps n are needed at least before the interval is shorter than 0.001?
Approximate ∫03 sin x dx with the trapezoid rule, n = 4, and compare it with the exact value. Find the absolute error |E| = |T − I|.
A vehicle's speed is measured every 5 s (table). Estimate the distance s travelled from t = 0 to t = 25 s with the trapezoid rule.
Use Euler's method with h = 0.2 for y′ = t + y, y(0) = 1 to estimate y5 ≈ y(1).
Solve y′ = y(2 − y), y(0) = 0.5 with Euler's method and step h = 0.5 up to t = 2.5. The exact solution is y = 2y₀/(y₀ + (2 − y₀)e−2t). Find the global error |E| = |y(2.5) − y5|.
Answer key
- 1. x2 = 0.5671
- 2. n = 9
- 3. |E| = 0.09417
- 4. s = 172.5 m
- 5. y5 = 2.977
- 6. |E| = 0.03943
Full step-by-step solutions: practise this topic on examproblems.com.