You will write three functions for a titration. One decides whether two titres agree. One finds the mean of the first two titres that agree. One finds the concentration of the alkali.
The idea. Two titres are concordant if they differ by no more than . The rough titre is left out. The moles of the known solution are . The ratio from the equation gives the moles of alkali, and the concentration of the alkali is those moles divided by the volume of alkali in .
Your tasks.
concordant(a, b). It is True if the two titres differ by no more than 0.20. Round the difference to 2 decimal places first.mean_titre(titres). The list has no rough titre. Sort it, then return the mean of the first two neighbours that are concordant.alkali_conc(acid_conc, titre, pipette, ratio). ratio is the moles of alkali for each mole of acid.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…