This program demonstrates solving differential equations numerically with various algorithms.
To run the demo:
- Choose a differential equation. Its analytical solution is plotted in blue. The initial condition y(x0) = y0 is represented by a red dot at (x0, y0).
- Choose an algorithm to solve the equation numerically:
- Fourth-Order Runge-Kutta
- Repeatedly press the Step button (up to 10 times) to single-step the algorithm with an increasing number of intervals. Each approximate solution is plotted in red.
- Press the Run button to animate the algorithm.