You will write functions for the pH of an acidic buffer, before and after a little strong acid is added, and pick out the buffers that work best.
The idea. . In one solution you can use millimoles instead of concentrations. Added strong acid turns that many millimoles of salt into acid.
Your tasks.
buffer_ph(pka, salt, acid) so that it returns the pH.after_acid(pka, salt, acid, added): added millimoles of HCl go in; return the new pH.good to the list of names whose pH is within one unit of their , in the order of the dictionary.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 3 more problems and 1 Python lab. Everything you have used here stays free, always.