Looking for a program for this method. Any suggestions on where I can find one? The tableau for this method is,
0| 1/4 -1/4
2/3| 1/4 5/12
--------------
| 1/4 3/4
Trying to solve $y'=y ; y(0)=1$ Also trying to figure out how many time steps are necessary to get an error at t=1 of < $10^{-5}$ and how many (f) function evaluations are necessary.
As for the time step question after using taylor expansion I get the following error term: $$1/72h^4+O(h^5)$$ Can I use this to find the number of steps or will I need the program for this? As for the function evaluations I really have no idea where to start. Help please.
Figured it out!
So 0.125 as the step size gets closest to the error being $10^{-5}$ . As for the function evaluations I know that each stage of the RK method has two, so 32 all together....But should I include the actual method as two more f evaluations??? I suppose not since the method uses the results from solving the system for each z1...