You are on page 1of 1

Y𝑛+1=𝑦𝑛+ℎ𝑓(𝑥,𝑦) x y f(x,y)

0 2 0
Yi+1=yi+hf(xi)
0.1 2 0.1
dy/dx= x-y+2 0.2 2.01 0.19
0.3 2.029 0.271
0.4 2.0561 0.3439
0.5 2.09049 0.40951
0.6 2.131441 0.468559
x0: 0 0.7 2.1782969 0.5217031
y0: 2 0.8 2.23046721 0.56953279
xf: 1 0.9 2.28742049 0.61257951
h: 0.1 1 2.34867844 0.65132156

You might also like