You will write a small program that reads a list of infrared bands and names the groups they may come from, and one that finds a wavenumber from the spring model.
The idea. Each group absorbs in a known range. A band inside a range points to that group. The spring model gives .
Your tasks.
groups_for(band). It returns the list of names in TABLE whose range holds the band.reduced_mass(m1, m2).wavenumber(k, m1, m2), rounded to a whole number.Run your code once to unlock the worked solution.
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…