Hydrogen's levels are . You will make the program find the energy of the levels to , the upper level of the red line (, landing on ), and the shortest wavelength of the whole Balmer series, its limit. Then it draws the Balmer lines as a spectrum.
The idea. A jump down gives a photon of , and . The Balmer series limit is the jump from very far out, , down to .
Your tasks.
E, the energy of the level n, in eV.n_red, the upper level whose jump to gives .lam_limit, the wavelength of the Balmer series limit, in nm.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…