Many practical problems in engineering and science require the solution of a system of simultaneous ordinary differential equations, such as:
This requires that initial conditions be known at the starting value of .
The one-step methods we have investigated can be applied to solve systems (Euler’s Method, Heun’s Method, Runge-Kutta Method). We apply the one-step method for every equation, at each step, before proceeding to the next step.
Example
Solve the following set of differential equations using Euler’s method, assuming that . Integrate to with a step size of .
Recall:
Thus, we have:
Note that is used in the second equation rather than computed with the first equation. We are using consistent values from the current step, to calculate the function values at the next step.
Continuing the process: