You will prompt the user for
You will output
Recall the procedure of the 4th order Runge-Kutta method for a particular subinterval, [xi,xi+1].
| 1. | ![]() |
| 2. | ![]() |
| 3. | ![]() |
| 4. | ![]() |
| 5. | ![]() |
| 6. | ![]() |
| 7. | ![]() |
| 8. | ![]() |
You will break the interval [x0,x1] up into n equal length subintervals. For each subinterval, [xi,xi+1], use the 4th order Runge-Kutta method to approximate the value of yi+1 which you will then use in the next subinterval.
We discussed in class a simple algorithm for Euler's Method that you can adapt for the 4th order Runge-Kutta Method.