Numerical stability of the forward-Euler method
scipython.com › book › chapter-9-general-scientificNumerical stability of the forward-Euler method. Consider the differential equation, d y d x = − α y. for α > 0 subject to the boundary condition y ( 0) = 1. This simple problem can be solved analytically: y = e − α x, but suppose we want to solve it numerically. The simplest approach is the forward (or explicit) Euler method: choose a step-size, h, defining a grid of x values, x i = x i − 1 + h, and approximate the corresponding y values through:
Forward and Backward Euler Methods
web.mit.edu › 10 › WebThe stability criterion for the forward Euler method requires the step size h to be less than 0.2. In Figure 1, we have shown the computed solution for h=0.001, 0.01 and 0.05 along with the exact solution 1. As seen from there, the method is numerically stable for these values of h and becomes more accurate as h decreases.