Step 1:
We start by applying Euler's method, which gives us the following approximation for $y(x+h)$:
$$y(x+h) \approx y(x) + h \cdot y'(x)$$
In our case, $y'(x) = -\frac{1}{2}y(x)$, so we can substitute this into the formula to get:
$$y(x+h) \approx y(x) -
Show more…