Friday, 1 April 2016

ordinary differential equations - Euler Method - Why is my intuition incorrect?



dAdt=0.5×A×(1A100)10

with A(0)=70 and we want to use Euler's method to get an approximate value for A(10), with a step size of 1.



So the answer sheet says you basically have to use Ans+0.5×Ans×(1Ans100)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.51=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

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...