Calculator Again Consider the IVP y' = ty, y(0) = 1.
(a) Use Euler’s method to approximate the solution at t = 1 with step sizes 1, 1/2, 1/4, and 1/8.
(b) Solve the problem exactly, and compare the result at t = 1 with the approximations calculated in part (a).
Computer Help Advisable Use of a programmable calculator or computer is advisable for carrying out numerical approximations. A spreadsheet is especially effective in many cases. Euler’s method formulas for solving the IVP y' = t − y, y(0) = 1 on [0, 2] with step size 0.2 are illustrated here.
| A | B |
1 | “tn” | “y” |
2 | 0 | 1 |
3 | = A2 + 0.2 | = B2 + 0.2 * (A2 − B2) |
4 | = A3 + 0.2 | = B3 + 0.2 * (A3 − B3) |
|
|
|
12 | = A11 + 02 | = B11 +0.2 * (A11 − B11) |
NOTE: The formulas in line 3 are from equations (5) and (6). Lines 4–12 need not be typed separately; they just repeat the instructions given on line 3, with spreadsheet shortcuts. See Appendix SS for details.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.