For the solution in the interior we set P = P 0 ; T = T e f f in the P-T relation and then eliminate pressure of this equation. Luminosity is given by the Stephan-Boltzmann law applied to a perfect black body :