Please first solve manually using implicit method then in MATLAB show explicit method
Solve the 1D heat equation ut=ut for 0<x<1, 0<t<0.1 by using the explicit FD scheme. The initial and boundary conditions are given as u(x,0) = f(x) = sin(πx) and u(0,t) = u(1,t) = 0. Choose h=0.2, k=0.02.