You will write three functions. One builds the reaction quotient from concentrations and coefficients. One applies the Nernst equation at any temperature. The last turns a measured emf back into a reaction quotient.
The idea. is the product of the concentrations of the products, each to the power of its coefficient, divided by the same for the reactants. Then .
Your tasks.
reaction_quotient(products, reactants). Each argument is a list of pairs (concentration, coefficient). Solids and pure liquids are not in the lists.nernst(e0, n, q, temp=298) so that it returns the emf in volts.quotient_from_emf(e0, n, e, temp=298) so that it returns the that gives the emf e.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…