
310 Introduction to Computational Models with Python
Methods that adjust the time step as the computation proceeds are known
as adaptive methods. The Dormand–Prince pa ir of Runge–Kutta is one of the
best adaptive methods.
Some general-purpos e ODE solvers use a modified Newton iteration
method is used to solve the system o f non-linear equations. This is gener-
ally suitable for stiff pro ble ms and req uires the Jac obian.
In a stiff problem, some methods for solving the equation are numerically
unstable, and the step size is forced to be unacceptably small in a region where
the solution curve is very s mooth.
The general structure of a Python progra ...