Regarding the program I want the following:
1.We know that there is a symmetry in the rod so the point at 0.2 must be equal to the point at 0.8 but the output was not for both codes! why ?
2.I want to explain to me what is the use of these ( % , 5.3 , f and fm) in the following code ?
fprintf('Temperature at time %5.3fseconds at %5.3fm is %7.5f Degree Celsius. for omega=%dHz in Initial Condition\n',tme,pnt,u_sol(idx,idx_t,1),omega(idx_omg));
3.In case the problem in the code I want you to modify it give the correct temperature.