Math, Python, Simulation, Heat Equation, Numerical Analysis.
know the slope formula becomes: The x values follow a similar suit, as plugging n+1 for x_2 and n for x_1 results in: Realistically, our n values are very rarely going to be spaced out by exactly 1, and a more general form would instead have them spaced out by any arbitrary value dx, resulting in