I added a branch for the function. I noticed when I created it that it takes values of
y{i-2}, y{i-1}, y{i},y{i+1},y_{i+2} and \Delta t as input. However, instead of needing time, we instead need \Delta x, the distance between two points. I changed the call for rk4 to support this.
I added a branch for the function. I noticed when I created it that it takes values of
y{i-2}, y{i-1}, y{i},y{i+1},y_{i+2} and \Delta t as input. However, instead of needing time, we instead need \Delta x, the distance between two points. I changed the call for rk4 to support this.