Loading subject…
For $\dfrac{dy}{dx} = x + y$ with $y(0) = 1$ and $h = 0.1$:
| n | $x_n$ | $y_n$ | slope f | $y_(n+1)$ |
|---|---|---|---|---|
| 0 | 0 | 1 | 1 | 1.1 |
| 1 | 0.1 | 1.1 | 1.2 | 1.22 |
| 2 | 0.2 | 1.22 | - | - |
Given $\dfrac{dy}{dx} = 2x - y$ with $y = 3$ at $x = 0$, use Euler's method with step size $h = 0.5$ to estimate $y$ when $x = 1$.
Solution
A system satisfies $\dfrac{dx}{dt} = 3x - y$ and $\dfrac{dy}{dt} = x + y$, with $x = 1$ and $y = 2$ at $t = 0$. Use Euler's method with $h = 0.1$ to estimate $x$ and $y$ at $t = 0.1$.
Solution
| Feature | Single equation | Coupled system |
|---|---|---|
| Unknowns | One (y) | Two (x and y) |
| Recurrences per step | One | Two, run together |
| Updates use | Current x, y | Current x and y for both |