Euler's Method

This demonstration shows Euler's method at its simplest. It generates an approximate solution to the initial value problem

  1. y'=1-t+4y
  2. y(0)=1
using step size dt=1. To advance one step click the "next" button. To start over at t=0 click the "restart" button. The demonstration provides a running commentary, which at each step tells you what the current values of t, y and y' are and shows you the formula used to construct the next value of y.

The demonstration below is an applet. Google Chrome, Firefox, Safari and Microsoft Edge no longer execute applets natively because of security issues with NPAPI plugins. However applets can be played in the Google Chrome browser by using the CheerpJ Applet Runner extension.