You will write three functions for crystals that hold water of crystallisation. One finds the relative formula mass of the crystals. One finds the percentage of water. One finds the mass of powder left after heating.
The idea. The relative formula mass of the crystals is the relative formula mass of the anhydrous salt plus for each molecule of water. The share of water is the mass of water divided by the mass of the crystals.
Your tasks.
mr_hydrate(mr_anhydrous, n_water).percent_water(mr_anhydrous, n_water).mass_after_heating(mass, mr_anhydrous, n_water). It returns the mass of anhydrous powder left from mass grams of crystals.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…