exponentials - Perl script to test Math::RungeKutta
perl examples/exponentials
This script uses Math::RungeKutta to integrate the exponential equations dy/dt=y/2 and dy/dt=y from t=0, y=1 to t=2
It uses Term::Clui to give you a choice of the various methods that Math::RungeKutta offers, and of a selection of timestep values or error criteria.
Peter J Billam www.pjb.com.au/comp/contact.html
examples/sine-cosine examples/three-body Math::RungeKutta, Term::Clui
To install Math::RungeKutta, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::RungeKutta
CPAN shell
perl -MCPAN -e shell install Math::RungeKutta
For more information on module installation, please visit the detailed CPAN module installation guide.