Runge-Kutta method: Difference between revisions

(Added Crystal version, translations of Run Basic and Ruby versions)
Line 488:
=={{header|Crystal}}==
{{trans|Run Basic and Ruby output}}
<lang crystalruby>y, t = 1, 0
while t <= 10
k1 = t * Math.sqrt(y)
Anonymous user