You will write a small identifier for metal ions, using what ammonia solution does to their solutions, and a calculator for the nitrogen in a fertiliser.
The idea. Ammonia solution gives a precipitate with each of these ions. Iron(III) gives reddish brown, iron(II) dirty green and lead white, and none of them dissolves in excess. Zinc gives white and copper(II) gives pale blue, and both dissolve in excess. The percentage of nitrogen in a compound is , where is the number of nitrogen atoms in its formula.
Your tasks.
table with the five rows.identify(colour, dissolves) so that it returns the list of ions that fit.percent_n(n_atoms, mr).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…