In order to incorporate a variable step algorithm for the Fehlberg’s method, an equation for error estimation has to be included. The Butcher tableau (ref: Hairer, Nørsett & Wanner, Solving ODEs, Vol. 1, Non-stiff problems) with the ycap coefficients are:
The generalized RK method can then be used with the Kaps-Rentrop algorithm for adaptive step size to solve ODEs.
[…] Methods, ACM Trans. On Mathematical Software, Vol. 13, No. 1, 1987, pp 1-27) was solved using the Variable-Step Fehlberg’s method. The equations […]
ReplyDelete[…] the solution is obtained from t= 0 to 500, with TOL = 1E-5 in about 715 steps. In contrast, the RK-Fehlberg algorithm takes over 12,400 steps to barely solve for the entire […]
ReplyDelete