assimulo.examples.rungekutta4_basic.
run_example
(with_plots=True)[source]¶Demonstration of the use of the use of Runge-Kutta 4 by solving the linear test equation \(\dot y = - y\)
on return:
- exp_mod problem instance
- exp_sim solver instance
Final Run Statistics: RK4 Example: $\dot y = - y$
Step-length : 0.01
Solver options:
Solver : RungeKutta4
Solver type : Fixed step
Simulation interval : 0.0 - 5.0 seconds.
Elapsed simulation time: 0.0388250350952 seconds.
Note
Press [source] (to the top right) to view the example.