HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /A titration calculator
ChemistryMediumHigh School (9–10)Principles Related to Practical Chemistry

A titration calculator

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 0.20 cm30.20\ \text{cm}^30.20 cm3. The rough titre is left out. The moles of the known solution are concentration×titre1000\text{concentration} \times \dfrac{\text{titre}}{1000}concentration×1000titre​. 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 dm3\text{dm}^3dm3.

Your tasks.

  1. Complete 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.
  2. Complete mean_titre(titres). The list has no rough titre. Sort it, then return the mean of the first two neighbours that are concordant.
  3. Complete alkali_conc(acid_conc, titre, pipette, ratio). ratio is the moles of alkali for each mole of acid.

Run it first, just as it is. The checker at the end prints FAIL for each task. Then do the tasks one at a time, and run the program again after each one. A Hint appears under every check that still fails.

When every line says PASS, call alkali_conc(0.0500, 23.50, 25.0, 2). Does it match the worked problem on the mean of the concordant titres?

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A 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 save
← All Labs
← An error calculator for apparatusA cation identifier →
More onPrinciples Related to Practical Chemistry

Discussion (0)

Log in to join the discussion.

Loading…

More labs on this topic

  1. A ppt. calculator for the halide testEasy
  2. A cation identifierMedium
  3. An error calculator for apparatusEasy
  4. Purity of Mohr's saltMedium
  5. Titration readingsEasy
All labs on this topic →