%% MIT 18.311, S 2009, Aslan Kasimov. % Press Cmd (or Ctrl)-Enter to run a cell %% Problem 3.1a. Solution of 1D heat equation for a rod % u_t = u_xx on -pi