5 Find the first six nonzero terms of a Taylor series soluti
5. Find the first six nonzero terms of a Taylor series solution centered at 0 of the given IVP problem, y\" = xy?-y, y(0)= 2, y, (0) = 1
Solution
Solution: given y2=xy2-y1............................1) y(0)=2 & y1(0)=1
the tayler series at centered 0
y(x)=y(0)+y1(0)*x+y2(0)/2*(x2)+y3(0)/6*(x3)+y4(0)/24*(x4)+y5(0)/120*(x5) upto six terms
from eq. no. 1) diffrentiate both side and using the given value, to get y2=-1
as like thies step apply we get y3=1, y4=7, y5=-5 putting in teylor series
y(x)=2+x-x2/2+x3/6+7x4/24-5x5/120 upto six terms
