Solution (source code)

= Solution

The <effective temperature> is defined by $\boxed{L=4\pi R_*^2\sigma T_{\mathrm{eff}}^4}$, with <bolometric luminosity> $L$, photospheric <radius> $R_*$ and <Stefan-Boltzmann constant> $\sigma$. It is the blackbody <temperature> giving the same total <surface flux>, not a claim that each <spectral line> forms at that <temperature>.