Java Number Cruncher
Program 8-1
Solving Differential Equations Numerically
This applet 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:
- Euler's
- Predictor-Corrector
- Fourth-Order Runge-Kutta
- Repeately 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.
