An ideal refrigerator or ideal heat pump is equivalent to a Carnot engine running in reverse. That is, energy $Q_{c}$ is taken in from a cold reservoir and energy $Q_{h}$ is rejected to a hot reservoir. (a) Show that the work that must be supplied to run the refrigerator or heat pump is
$$W=\frac{T_{h}-T_{c}}{T_{c}} Q_{c}$$
(b) Show that the coefficient of performance of the ideal refrigerator is
$$\operatorname{COP}=\frac{T_{c}}{T_{h}-T_{c}}$$