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 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 ].