Math, Python, Simulation, Heat Equation, Numerical Analysis.
states that the points will be spaced out by # +/- dx or +/- dt, in practice an array can only ever be spaced # out by +1 or -1, so we make due. The numpy savvy among you would wonder why we’re using nested for loops instead of vector notation, and the answer is simply for clarity, as nested for