The chemical potentials of the ideal gas and the photon gas have been computed based on the thermodynamic theory and the statistical theory.The chemical potential of the ideal gas is a function of the temperature and the pressure.The chemical potential of the p...