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:
-----(3)
-------(4)
Substitute 0 for n in equation (3) to obtain the equation ofas shown below.
Substitute 0 for for and 0.1 for h in the above equation.
Substitute 0 for n in equation (4).
Substitute 0 forforforforand $0.1$ for h in the above equation.
Therefore, the value oforis 0.0952.
Similarly, the value of and are obtained as shown in Table 1.

Now for step size h = 0.05, calculate the value ofas shown below.
Substitute 0 for n in equation (3) to obtain the equation ofas shown below.
Substitute 0 forforand 0.05 for h in the above equation.
Substitute 0 for n in equation (4).
Substitute 0 forforforforand 0.05 for h in the above equation.
Therefore, the value oforis 0.0488.
Similarly, the value of , is obtained as shown in Table 2. and .

Thus, the approximate value of y(0.5) for step size h = 0.1 and h = 0.05 is obtained as 0.4053 and 0.4054 respectively.