Finite-Difference Method for Heat Transfer