A house loses energy through the exterior walls and roof at a rate of $5000 \mathrm{~J} / \mathrm{s}=5.00 \mathrm{~kW}$ when the interior temperature is $22.0^{\circ} \mathrm{C}$ and the outside temperature is $-5.00^{\circ} \mathrm{C}$. Calculate the electric power required to maintain the interior temperature at $22.0^{\circ} \mathrm{C}$ for the following two cases:
(a) The electric power is used in electric resistance heaters (which convert all of the electricity supplied into internal energy). (b) The electric power is used to drive an electric motor that operates the compressor of a heat pump (which has a coefficient of performance [COP] equal to $60.0 \%$ of the Carnot-cycle value).