1.Develop a computer code for the solution one-dimensional diffuse equation in a plane slab of thickness L. The code generates the system of equations for unknown nodal values using discretization equations for interior nodes and that for the boundary nodes at the left and right surfaces. Solve the system of equations using the Gauss-elimination solver.
a. Use the code for the solution of a problem given
b. Repeat the problem by progressively increasing the number of nodes as Nx ¼ 8, Nx ¼ 10, and Nx ¼ 12. Present an approximate percent relative error for the estimation of heat transfer rate at the left surface at x ¼ 0 with increasing number of nodes.