quadex_ode_test, a MATLAB code which calls quadex_ode(), which solves a stiff ordinary differential equation (ODE) whose exact solution is a parabola, but for which errors grow exponentially.
The information on this web page is distributed under the MIT license.
quadex_ode, a MATLAB code which solves a stiff ordinary differential equation (ODE) whose exact solution is a parabola, but for which errors grow exponentially.
quadex_euler used euler() to solve the problem.
quadex_backward_euler used backward_euler() to solve the problem.