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=0.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.