You will write functions for the cells of this lesson. One gives the emf of a concentration cell. One turns an emf into a solubility. One gives a solubility product and one gives a pH. The checker tests them with new numbers.
The idea. For a concentration cell, . When one side is a saturated solution of concentration , solve the same equation for . A salt has . For a hydrogen electrode and a reference electrode, .
Your tasks.
conc_cell_emf(c_dilute, c_conc, n) so that it returns the emf in volts.solubility_from_emf(emf, c_ref, n) so that it returns the saturated concentration , in mol/L. The reference side has the concentration c_ref.ksp_mx2(s) so that it returns the solubility product of a salt of the type .ph_from_cell(emf, e_ref) so that it returns the pH.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…