Numerical Analysis, Numerical Methods, Stability Test.
a.) the differential equation dy/dt = -y, where y is a single state variable, and b.) the true solution to this equation as y_true(t, y0) = y0*exp(-t), where y0 is the initial condition. We then define the Euler method as euler(f, y0, t, dt), which takes the function f, the initial condition y0, an