Heat-Transfer calculations by finite differences