In: Math
Use Euler's method with each of the following step sizes to estimate the value of y(0.8), where y is the solution of the initial-value problem: y' = y, y(0) = 5.
(i) h = 0.8
y(0.8) = 9
(ii) h = 0.4
y(0.8) = 9.8
(iii)
h = 0.2
y(0.8) = ?
The error in Euler's method is the difference between the exact value and the approximate value. Find the errors made in part (a) in using Euler's method to estimate the true value of y(0.8), namely 5e0.8.
(Round your answers to four decimal places.)
h = 0.8 |
error = (exact value) − (approximate value) = 2.1277 |
h = 0.4 |
error = (exact value) − (approximate value) = 1.3277 |
h = 0.2 |
error = (exact value) − (approximate value) = ? |