Rydberg's formula gives every line of hydrogen. You will write it, list the first lines of a series, and pick out the Balmer lines that the eye can see. Then the program draws them.
The idea. , with . Visible light runs from to .
Your tasks.
wavelength, return the wavelength in nm.series, return the first count wavelengths that end on n1.visible with the Balmer lines, from to , that lie between and .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…