I have:
$$y' = -22*y+3*sin(3*x)$$ $$0 \le x \le 3 $$ $$y(0) = 4$$
as my initial value problem.
The question is:
What is the largest step size h for which the Euler method is stable, when applied to the initial value problem above?
I believe the region of stability for Euler is something like:
$$|1+h*\lambda| < 1$$
Don't really get what $\lambda$ is meant to be?
I also have a follow-up question:
When applying the same theoretical analysis to the midpoint method, what is the largest step size h for which the method is stable?
PS. $\lambda$ is a constant in the complex numbers and I believe $Re \lambda < 0$.
