An ideal refrigerator or ideal heat pump is equivalent to a Carnot engine running in reverse. That is, energy $\left|Q_{c}\right|$ is taken in from a cold reservoir and energy $\left|Q_{h}\right|$ 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}}\left|Q_{c}\right|$$ (b) Show that the coefficient of performance (COP) of the ideal refrigerator is $$\mathrm{COP}=\frac{T_{c}}{T_{h}-T_{c}}$$