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. /Reading a rate graph
ChemistryMediumHigh School (9–10)Chemical Kinetics › Temperature, the Arrhenius Equation and Collision Theory

Reading a rate graph

You will write three functions that read a volume against time graph. One finds a gradient. One finds the rate at a reading, using its two neighbours. One predicts the end volume from the mass of a carbonate.

The idea. The gradient is the change in volume divided by the change in time. The slope of the tangent at a point is close to the slope of the line between the two points on each side of it. The end volume comes from the moles: one mole of gas fills 24 000 cm324\,000\ \text{cm}^324000 cm3.

Your tasks.

  1. Complete gradient(t1, v1, t2, v2).
  2. Complete rate_at(times, volumes, i). It uses the readings i - 1 and i + 1.
  3. Complete end_volume(mass, mr). One mole of carbonate gives one mole of carbon dioxide. The answer is in cm³.

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 end_volume(1.5, 100). Does it match the worked problem on marble?

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
← A mean rate calculatorA surface area calculator →
More onChemical Kinetics › Temperature, the Arrhenius Equation and Collision Theory

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Reading rate graphsMeasuring and Explaining the Rate of a Reaction

More labs on this topic

  1. From times to ratesMedium
  2. A surface area calculatorEasy
  3. A mean rate calculatorEasy
  4. Barriers and catalystsEasy
  5. An Arrhenius calculator
Medium
All labs on this topic →