Computational Physics, Physics, Heat Equation, Python, Math.
plt.xlabel("x") plt.ylabel("y") # This is to plot u_k (u at time-step k) plt.pcolormesh(u_k, cmap=plt.cm.jet, vmin=0, vmax=100) plt.colorbar() return plt One more thing that we need is to animate the result because we want to see the temperature points inside the plate change over time. So let’s