dAdt=0.5×A×(1−A100)−10
So the answer sheet says you basically have to use Ans+0.5×Ans×(1−Ans100)−10 with the first Ans being 70, and then of course repeat 10 times.
But I'm wondering, doesn't this actually give you dA(10)dt? How is this a correct method?
Answer
The Euler method does not give you dAdt. You give it a formula for dAdt, such as the one in your question. Then from any given point, like your start of (0,70) it puts a straight line through the point with slope dAdt of that point. From your expression, dAdt|(0,70)=0.5 so we step one unit in t at a slope of 0.5, giving the A value of the next point as 70+0.5⋅1=70.5. Now we are at (70.5,1), we calculate dAdt at this point and take another step along the t axis, and so on until we get to t=10
No comments:
Post a Comment