This demonstration illustrates the prinicpals behind automatic step size adjustment using a fairly crude, but easy to understand algorithm. It generates an approximate solution to the initial value problem
THIS DEMONSTRATION USES A LARGE WINDOW. SCROLL AND RESIZE YOUR BROWSER WINDOW SO THAT YOU CAN SEE THE WHOLE WINDOW.
To execute one step click the "next" button. The upper window gives the approximate solution constructed to date. The lower window gives a blown up view of the current step. To start over at t=0 click the "restart" button. The demonstration provides a running commentary which at each step tells you what computations were done.
The demonstration below is an applet. Google Chrome, Firefox and Microsoft Edge no longer execute applets because of security issues with NPAPI plugins. Some browsers that still play applets are Internet Explorer, Safari and the Pale Moon browser [ windows, linux, Mac ].