Skip to content
LaTeX (KaTeX) templates

Math — Numerical Solution of ODEs

Euler and Runge–Kutta stepping.

Template previewLaTeX (KaTeX)
Rendering…

Make it your own.

y_{n+1} = y_n + h\,f(x_n, y_n) \;\text{(Euler)}

\text{RK4: weighted average of 4 slopes}

\text{Euler local error } O(h^2)

\text{smaller } h \Rightarrow \text{more accurate}