//显式计算一维非定常热传导方程#include#includeusingnamespacestd;intmain(){doubleT[11];//存放初始值和边界值doubleresult[11];//存放结果doubleL=1;//几何模型doubledeltaX=0.1;//空间步长doubledeltaT=0.001;//时间步长intn=L/deltaX+1;//空间节点数for(in