Let y=f(x)y=f(x)y=f(x) be the solution to the differential equation dydx=x−y−1\dfrac{dy}{dx}=x-y-1 dxdy=x−y−1 with the initial condition f(1)=−2f(1)=-2f(1)=−2. What is the approximation for f(1.4)f(1.4)f(1.4) if Euler's method is used, starting at x=1x=1x=1 with two steps of equal size?
Starting at (1,−2)(1,-2)(1,−2), we have a slope of:
At (1.2,−1.6)(1.2,-1.6)(1.2,−1.6)