If the radius of a star is R and it acts as a black body, what would be the temperature of the star, in which the rate of energy production is Q?
If r is the radius of the star and T is temperature, then the energy emitted by the star per second through radiation in accordance with Stefan's law will be given by