Americas
Europe
Q 3.6-17E
Expert-verifiedUse Euler’s method (4) with h = 0.1 to approximate the solution to the initial value problem , on the interval (that is, at x = 0, 0.1, . . . , 1.0).Compare your answers with the actual solution y = e-20x. What went wrong? Next, try the step size h = 0.025 and also h = 0.2. What conclusions can you draw concerning the choice of step size?
xn | yn(h = 0.2) | yn(h = 0.1)
| yn(h = 0.025)
|
0.1 |
| -1 | 0.06250 |
0.2 | -3 | 1 | 0.00391 |
0.3 |
| -1 | 0.00024 |
0.4 | 9 | 1 | 0.00002 |
0.5 |
| -1 | 0.00000 |
0.6 | -27 | 1 | 0.00000 |
0.7 |
| -1 | 0.00000 |
0.8 | 81 | 1 | 0.00000 |
0.9 |
| -1 | 0.00000 |
1.0 | -243 | 1 | 0.00000 |
The result is for h=0.1 the values are 1 and -1. The values for h=0.2 the results are increasing and decreasing with different signs. For h=0.025 is the best approximation result.
Here f(x,y)=-20y then
Apply initial points for
Where
Hence the solution is
xn | yn(h = 0.2) | yn(h = 0.1) | yn(h = 0.025) |
0.1 |
| -1 | 0.06250 |
0.2 | -3 | 1 | 0.00391 |
0.3 |
| -1 | 0.00024 |
0.4 | 9 | 1 | 0.00002 |
0.5 |
| -1 | 0.00000 |
0.6 | -27 | 1 | 0.00000 |
0.7 |
| -1 | 0.00000 |
0.8 | 81 | 1 | 0.00000 |
0.9 |
| -1 | 0.00000 |
1.0 | -243 | 1 | 0.00000 |
The result is for h=0.1 the values are 1 and -1. The values for h=0.2 the results are increasing and decreasing with different signs. For h=0.025 is the best approximation result.
94% of StudySmarter users get better grades.
Sign up for free