Making use of Planck's formula, derive the expressions determining the number of photons per 1 cm31 \mathrm{~cm}^{3}1 cm3 of a cavity at a temperature TTT in the spectral intervals (ω,ω+dω)(\omega, \omega+d \omega)(ω,ω+dω) and (λ,λ+dλ)(\lambda, \lambda+d \lambda)(λ,λ+dλ).