Kirill Z. answered 02/28/14
Tutor
4.8
(230)
Physics, math tutor with great knowledge and teaching skills
For the differential equation y'=f(y,x), y(x0)=y0, Euler method looks as follows:
1) Suppose, we have initial value of y(x), here it is y(0)=2. Then, if we need to estimate y(1) in two steps, our step size is 0.5.
2) yn+1=yn+h*f(yn,xn)--general formula. In our case, h=0.5; f(y,x)=10x/(x+y)
First step: x0=0, y0=2; f(y0,x0)=10*0/(0+2)=0; y1=y0+0.5*f(y0,x0) =2+0.5*0=2;
Second step: x1=0.5; y1=2
f(y1,x1)=10*0.5/(0.5+2)=2; y2=y1+h*f(y1,x1)=2+0.5*2=3;
Answer: 3