You will write four small functions for the laboratory preparation of hydrogen chloride.
The idea. One mole of sodium chloride () gives one mole of hydrogen chloride. One mole of gas fills at S.T.P. Below one mole of sulphuric acid () reacts with one mole of salt. Above it reacts with two. A very soluble gas is collected by upward displacement of air if its is more than 28.8, and by downward displacement if it is less.
Your tasks.
moles_hcl(mass_salt).volume_stp(moles), in .acid_used(mass_salt, above_200), the mass of sulphuric acid in grams.collection(mr) so that it returns "upward" or "downward".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…