Use Eulers method with step size 05 to compute the approxima
Use Euler\'s method with step size 0.5 to compute the approximate y-values y1 approx y(1.5), Y2 approx y(2), y3 approx y(2.5), and y4 approx y(3) of the solution of the initial-value problem y\' = 2 - 5x - 2y, y(1) = 4.
Solution
y\'=f(x,y)=2-5x-2y
y_(n+1)=y_(n)+hf(x,y)
y_1= 4+0.5(2-5*1-2*4)=-1.5
y_2= -1.5 +0.5(2-5*(1.5)-2*(-1.5))=-2.75
y_3= -2.75+0.5(2-5*2-2(-2.75))=-4
y_4= -4+0.5(2-5*(2.5)-2(-4))=-5.25
