1.
Run the program
myheat.m (Program 4.6.2) with \(L = 2\pi\text{,}\) \(T=20\text{,}\) \(c = .5\text{,}\) \(g_{1}(t) = \sin(t)\text{,}\) \(g_{2}(t) =0\) and \(f(x) = -\sin(x/4)\text{.}\) Set \(m=20\) and experiment with \(n\text{.}\) Get a plot when the program is stable and one when it isn’t. Turn in the plots. Hint: The function \(g_{2}(t)\) will need to be input using the formula g2 = @(t) 0*t.

