Once again, write down the condition of the problem
⎩⎨⎧x⋅dx2d2y+dxdy+xy=0y(0)=1y′(0)=0
We are offered to use the approximating formulas :
dx2d2y≈h2yn+1−2yn+yn−1dxdy≈2hyn+1−yn−1
To fulfill item (i) we must substitute the indicated formulas in the original equation :
x⋅dx2d2y+dxdy+xy=0→xn⋅h2yn+1−2yn+yn−1+2hyn+1−yn−1+xnyn=0∣∣×(2h2)2xn(yn+1−2yn+yn−1)+h(yn+1−yn−1)+2h2xnyn=02xnyn+1+hyn+1=4xnyn−2h2xnyn+hyn−1−2xnyn−1yn+1(h+2xn)=2xnyn(2−h2)+yn−1(h−2xn)∣∣÷(h+2xn)yn+1=h+2xn2xnyn(2−h2)+yn−1(h−2xn)
Q.E.D.
To fulfill point (ii), we must understand that our splitting occurs as follows :
x0=0→xn=n⋅handy(0)=1↔y0=1
Now substitute in the formula that we have received the item (i), n=0 :
y+1=h+2x02x0y0(2−h2)+y−1(h−2x0)→y+1=h2⋅0⋅1(2−h2)+y−1⋅h→y+1=y−1
Q.E.D.
To find the value of y(0.6) , we must understand that
h=0.2andx=nh→n=hx=0.20.6=3
We somehow additionally need to calculate y1 , since the last obtained formula y1=y−1 does not help us in calculations.
As we know
y′≡dxdy≈hyn+1−yn→y′(0)=0=0.2y1−1→y1=1
Then,
yn+1=h+2xn2xnyn(2−h2)+yn−1(h−2xn)n=1:y2=h+2x12x1y1(2−h2)+y0(h−2x1)→y2=0.2+2⋅0.22⋅0.2⋅1(2−0.22)+0(0.2−2⋅0.2)=0.60.4⋅1.96y2≈1.307n=2:y3=h+2x22x2y2(2−h2)+y1(h−2x2)→y3=0.2+2⋅0.42⋅0.4⋅1.307(2−0.22)+1(0.2−2⋅0.4)=10.8⋅1.307⋅1.96−0.6y(0.6)=y3≈1.449
ANSWER
y(0.6)≈1.449