assimulo.examples.rungekutta34_basic.
run_example
(with_plots=True)[source]¶Demonstration of the use of the use of Runge-Kutta 34 by solving the linear test equation \(\dot y = - y\)
on return:
- exp_mod problem instance
- exp_sim solver instance
Final Run Statistics: RK34 Example: $\dot y = - y$
Number of steps : 51
Number of function evaluations : 255
Solver options:
Solver : RungeKutta34
Solver type : Adaptive
Relative tolerance : 1e-06
Absolute tolerance : 1e-06
Simulation interval : 0.0 - 5.0 seconds.
Elapsed simulation time: 0.00745320320129 seconds.
Note
Press [source] (to the top right) to view the example.