Applying Euler's method:
Let f(x, y) = 2x - 3y + 1, and consider the following recurrence relations:


For step size h = 0.1, we can approximate y (1.2) with just 2 steps:


For step size h = 0.05, we need 4 steps:




(Compare these to the value of y (1.2) found using the exact solution to the differential equation, about 3.22832.)