- #1
lmanri
- 9
- 0
Homework Statement
Use EulersMethod to perform Euler's method with the given step size Δt on the given initial value problem over the time interval specified :
dy/dt= (y^2)-4t , y(0)=0.5 , 0<=t<=2, Δt=0.25
The Attempt at a Solution
This is what I did but I don't think its right, because in the back of the book there is a different answer. I really need to know how to work it out please help.y1= 0.5+(.5^2-(4)(0)).25= .05625y2= 0.5625+(.5625^2-(4)(.25)).25= .3916
y3= 0.3916+(.3916^2-(4)(.50)).25= -.07006
y4= -.07006+(-.07006^2-(4)(.75)).25= -.821289
y5= -.821289+(-.821289^2-(4)(1.0)).25=-1.98992
y6= -1.98992+(-1.98992^2-(4)(1.25)).25= -4.22987
y7= -4.22987+(-4.22987^2-(4)(1.50)).25= -10.2028
y8= -10.2028+(-10.2028^2-(4)(1.75)).25= -37.9771The book says: y1= 0.56, y2=0.39, y8=-2.69
I don't know how they got to y8=-2.69