How to solve the heat equation