Consider a photon gas enclosed in a volume $V$ and in equilibrium at temperature $T$. The photon is a massless particle, so that $\varepsilon=p c$.
(a) What is the chemical potential of the gas? Explain.
(b) Determine how the number of photons in the volume depends upon the temperature.
(c) One may write the energy density in the form
$$
\frac{\bar{E}}{\bar{V}}=\int_0^{\infty} \rho(\omega) d \omega
$$
Determine the form of $\rho(\omega)$, the spectral density of the energy.
(d) What is the temperature dependence of the energy $\bar{E}$ ?