Runge-Kutta method: Difference between revisions

Content deleted Content added
Grondilu (talk | contribs)
→‎{{header|Perl 6}}: style again: using an other loop structure
Grondilu (talk | contribs)
m →‎{{header|Perl 6}}: minor tweaking
Line 459:
@δy.push: δt * yp $t + δt / 2, $y + @δy[0] / 2;
@δy.push: δt * yp $t + δt / 2, $y + @δy[1] / 2;
@δy.push: δt * yp $t += δt, $y + @δy[2];
take $y += 6 R/ [+] <1 2 2 1> Z* @δy ;
$t += δt;
}
}