fwiw, the first problem was the solution of the heat equation, taking the derivative would've given you the heat equation back. the only time i can think where you would do this is if one of your initial values is a derivative (in case you see a similar problem on your final, one easy way to...