You will write two functions that an analyst uses for cations.
The idea. The observations with excess sodium hydroxide and excess ammonia name the cation. The solubility product gives the pH at which its hydroxide starts to form.
Your tasks.
name_cation(colour, dissolves_naoh, dissolves_nh3). Use the table TESTS in the program. Return the name, or "unknown".onset_pH(ksp, conc, n). It returns the pH at which starts to precipitate, at 298 K.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…