Foundations: conservation of energy plus Fourier's law, on a grid.
Each cell's temperature changes by the heat flowing in from its four neighbours:
ΔT = (Δt/c) Σ k·(T_neighbour − T). That is the heat equation, discretised —
as Δx and Δt shrink it converges to ∂T/∂t = α∇²T. Latent heat is an energy ledger:
at 0 °C and 100 °C, incoming energy fills a buffer (melting, boiling) instead of
raising T, which is why the probe graph flattens into plateaus exactly like the
curve in the Heat & Phase lesson.
The stability rule matters: step too far in time and a cell can overshoot its
neighbours' average and oscillate to infinity. The lab's step obeys
Δt < 0.25·c/k for its most conductive material — copper sets the speed limit.