A first order differential equation has the form,

$\frac{dx}{dt}=f(x,t),$

where $f(x,t)$ is any function of $x$ and $t$. The form below can be used to numerically integrate this equation for a total number of $N_{steps}$ steps using a step size of $\Delta t$.

$x$ | ||

$t$ |