Runge-Kutta method: Difference between revisions

m
m (→‎{{header|Perl}}: oops, forgot to remove that)
m (→‎{{header|Perl}}: rephrasing)
Line 454:
=={{header|Perl}}==
{{trans|Perl 6}}
Notice how we have use sprintf to deal with floating pointspoint rounding with sprintf. See perlfaq4.
<lang perl>sub runge_kutta {
my ($yp, $t, $y, $dt) = @_;
1,935

edits