4. For the initial-value problem y′(t) = 3 + t − y(t), y(0) = 1:
(i) Find approximate values of the solution at t = 0.1, 0.2, 0.3, and 0.4 using the Euler
method with h = 0.1.
(ii) Repeat part (i) with h = 0.05. Compare the results with those found in (i).
(iii) Find the exact solution y = y(t) and evaluate y(t) at t = 0.1, 0.2, 0.3, and 0.4. Compare these values with the results of (i) and (ii).
Get Answers For Free
Most questions answered within 1 hours.