Very small particles scatter light in proportion to . You will make the program find how many times more each colour is scattered than red light (), find the colour scattered most, and find the wavelength scattered exactly twice as much as red. Then it draws the result as bars.
Your tasks.
k, how many times more the colour is scattered than red.top, the name of the colour scattered the most.twice, the wavelength in nanometres that is scattered twice as much as red.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…