Show that, for a rigid system in thermal equilibrium with a reservoir,
$$
e^{S_{\mathrm{wat}} / k_{\mathrm{B}}} \propto e^{-F / k_{\mathrm{B}} T}
$$
and for a flexible system in equilibrium with a pressure and temperature reservoir,
$$
e^{s_{\mathrm{wit}} / k_{\mathrm{B}}} \propto e^{-G / k_{\mathrm{B}} T}
$$
where, as usual, $S_{\text {tot }}$ is the total entropy of reservoir and system, and $F, G, T$ are properties of the system alone. Comment on the physical implications.