(71B) EulerTaylor method for the HP71B

12152019, 08:25 AM
(This post was last modified: 12152019 08:26 AM by Csaba Tizedes.)
Post: #12




RE: (71B) EulerTaylor method for the HP71B
(12152019 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 

« Next Oldest  Next Newest »

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