The differential equation is given as follows:
The initial value is given as. This implies thatand.
The given differential equation is of the form.
Obtain the solution of the given differential equation by Euler's method for h = 0.1.
The solution of a linear differential equation of the formby the Improved Euler's method is given as follows:
Substitute 0 for n in equation (3) to obtain the equation ofas shown below.
Substitute 0 forforand 0.1 for h in the above equation.

Now for step size h = 0.05, calculate for value of y(0.5) as shown below.
Substitute 0 for n in equation (3) to obtain the equation of as shown below.
Substitute 0 for for and $0.05$ for h in the above equation.
Similarly, the value of , are obtained as shown in Table 2. and .

Thus, the value y(0.5) for step size h = 0.1 and h = 0.05 is obtained as 0.4197and 0.4124 respectively.