The sun's hot inner layers produce a fairly continuous spectrum of radiation, from infra-red to X-rays. When this radiation passes through the cooler outer layers, which are majorly composed of hydrogen ( ∼91.2% of all atoms is hydrogen), some wavelengths get absorbed. Ignoring the other elements composing the outer layers and considering only hydrogen, can you guess the longest missing wavelength in the rainbows we see on Earth?
The principal gas in the sun's outer layers is hydrogen. Ignoring the other minor components, we know the wavelengths corresponding to the dark lines in the absorption spectrum of hydrogen should be missing in the rainbow. But there are many different spectral sets - the Lyman series, the Balmer series, Paschen, Brackett. Which one should we consider?
Remember that only the Balmer series contains lines in the visible part of the electromagnetic spectrum. So if the rainbow is indeed an absorption spectrum, it should have missing wavelengths corresponding to lines in the Balmer series! What is the longest wavelength in the Balmer series? In the Rydberg formula, it would correspond to n1=2 and n2=3,
1λ=R(1n21−1n22)=(1.097×107)×(122−132)m−1⇒λ=6.563×10−7m=656.3nm