Euler's method approximates the area under a curve by using rectangular segments. The figure illustrates this process:
You specify the curve, in this case (dY/dT), and pick a starting value (Y0) and a step size, h. (Note that in this figure Y0 = 0)
Starting with the initial value, Y0, the next value is obtained by adding the rectangular area defined by (dY/dT) at T=0, and h.
This process is repeated at each step in h.
The illustration uses a large value of h to illustrate the process. The more rectangles you use (i.e. as h becomes smaller) the smaller the error becomes, so you want to use a large number of rectangles (a small value for h).
Best Answer