Source: https://ljouhet.net/classes/python-1a/runge-kutta/Euler-Rk4-handout.pdf