Stability Analysis of an ODE
Objective: A numerical method is said to be unstable if small perturbations cause the solution to oscillate and diverge. Consider the ODE: `f(y)=(dy)/dx=-1000y-e^(-t)` Numerical schemes are of two types: Explicit Implicit In explicit schemes the values of the previous timestep are used for computation and if implicit schemes are…