You will write functions that turn a fall of the freezing point into a molar mass. Then you will use them to decide which compound a chemist has dissolved.
The idea. , and the moles of solute are the molality times the mass of the solvent in kilograms.
Your tasks.
molality(drop, kf) so that it returns the molality in mol/kg.molar_mass(solute, solvent, drop, kf) so that it returns the molar mass in g/mol. The masses are in grams.guess to the name of the compound in candidates whose molar mass is closest to the measured one.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…