You will write three functions for the reaction . The first finds the volume of oxygen from a mass of the salt. The second finds the mass of the salt that is needed for a volume. The third finds the percentage of a mixture that is the salt.
The idea. Three moles of oxygen come from two moles of the salt. One mole of gas fills 22.4 L at 273 K and 1 atm.
Your tasks.
oxygen_volume(mass) so that it returns the litres of oxygen for a mass of KClO3 in grams.chlorate_needed(volume) so that it returns the grams of KClO3 for a volume of oxygen in litres.percent_in_mixture(volume, mixture_mass) so that it returns the percentage of KClO3 in the mixture.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…
With Standard, you also open 12 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.