Anonymous user
Runge-Kutta method: Difference between revisions
m
→Alternative version
Line 1,596:
y(10.0) = 675.999949 error: 5.098329e-05</pre>
=== Alternative version ===
{{trans|Python}}
<lang julia>function rk4(f::Function, x₀::Float64, y₀::Float64, x₁::Float64, n)
|