(a) In the big-bang theory of the universe, the radiation energy initially confined in a small region adiabatically expands in a spherically symmetric manner. The radiation cools down as it expands. Derive a relation between the temperature $T$ and the radius $R$ of the spherical volume of radiation, based purely on thermodynamic considerations.
(b) Find the total entropy of a photon gas as a function of its temperature $T$, volume $V$, and the constants $k, \hbar, c$.