Runge-Kutta method: Difference between revisions
m
→{{header|Perl}}: rephrasing
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
<lang perl>sub runge_kutta {
my ($yp, $t, $y, $dt) = @_;
|