Problem with solving the heat equation

see, e.g. here.