Post Reply 
(71B) Euler-Taylor method for the HP-71B
12-15-2019, 08:25 AM (This post was last modified: 12-15-2019 08:26 AM by Csaba Tizedes.)
Post: #12
RE: (71B) Euler-Taylor method for the HP-71B
(12-15-2019 12:23 AM)Namir Wrote:  Repeating line 70 generates more error since that step has no theoretical justification. I did try it and the percent error jumped significantly!!!

Of course you must to store the temporary Euler estimation (YE) first:
50 D1=FND(X,Y)
60 X=X+H @ YE=Y+H*D1

Then use this, here the Y is totally same calculated as earlier:
70 Y=YE+H/2*(FND(X,YE)-D1)

We can repeat the calculation ("correction") of Y use the Euler estimation (YE) and the previously calculated, second order estimated Y:
75 Y=YE+H/2*(FND(X,Y)-D1)

Csaba
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (71B) Euler-Taylor method for the HP-71B - Csaba Tizedes - 12-15-2019 08:25 AM



User(s) browsing this thread: 1 Guest(s)