where N is the number of particles in the star. Since most stars are composed mainly of ionized hydrogen, N equals roughly M / m p, where m p is the mass of one proton. Application of the equipartition theorem gives an estimate of the star's temperature