differential equations heat equation

My question is number 18.

Please make sure to do all parts that were asked in the description including the graphing in matlab