where T0 and Tm are the specified temperatures at surfaces at x 0 and x L,
respectively. Therefore, the specified temperature boundary conditions are incorporated by simply assigning the given surface temperatures to the boundary nodes. We do not need to write an energy balance in this case unless we decide to determine the rate of heat transfer into or out of the medium after the temperatures at the interior nodes are determined.