Consider the solution of the differential equation yy passin
Consider the solution of the differential equation y\'=y passing through y(0)=1.5
Use Euler\'s method with step size deltax=0.2 to estimate the solution at x=0.2,0.4, .., 1 , using these to fill in the following table. (Be sure not to round your answers at each step!)
x= 0 0.2 0.4 0.6 0.8 1.0
y 1.5
Use Euler\'s method with step size deltax=0.2 to estimate the solution at x=0.2,0.4, .., 1 , using these to fill in the following table. (Be sure not to round your answers at each step!)
x= 0 0.2 0.4 0.6 0.8 1.0
y 1.5
Solution
X= 0 Y = 1.5, f(0)=1.5 Yo=1.5 then you do h, which is the step size, which =2 and multiply it by f(0) and add it to Yo so Y1=Yo+h*f(0)=1.5+1.5*.2=1.8 X=.2 Y=1.8 then you continue X=.4 (Y2=Y1+h*y1 = 1.8+.2*1.8)= Y=2.16 X= .6 (y3=y2*h*y2) = y =2.592 X= .8 y = 3.1104 x=1 y = 3.73248