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
  • Computer 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. /The Solvay process in numbers
ChemistryMediumHigh School (11–12)Hydrogen and the s-Block Elements

The Solvay process in numbers

You will write three functions for the mass balance of the Solvay process. The overall change is 2 NaCl+CaCO3→Na2CO3+CaCl22\ \text{NaCl} + \text{CaCO}_3 \rightarrow \text{Na}_2\text{CO}_3 + \text{CaCl}_22 NaCl+CaCO3​→Na2​CO3​+CaCl2​.

The idea. Work in moles of sodium carbonate (106 g/mol106\ \text{g/mol}106 g/mol). Two salt units (58.5 g/mol58.5\ \text{g/mol}58.5 g/mol) go into each. If only part of the salt is converted, more must be fed in.

Your tasks.

  1. Complete moles(tonnes). It returns the moles of sodium carbonate in that many tonnes.
  2. Complete salt_needed(tonnes, converted). It returns the tonnes of salt fed in, where converted is a fraction.
  3. Complete by_product(tonnes). It returns the tonnes of calcium chloride (111 g/mol111\ \text{g/mol}111 g/mol).

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, find the salt needed for 3 t of product at a conversion of 0.70.

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A worked solution

Run your code once to unlock the 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
← When do the carbonates break up?Name the s-block compound →
More onHydrogen and the s-Block Elements

Discussion (0)

Log in to join the discussion.

Loading…

More labs on this topic

  1. Name the s-block compoundMedium
  2. When do the carbonates break up?Medium
  3. The easiest metal to ionise in waterMedium
  4. Strength of a hydrogen peroxide solutionMedium
  5. Hardness from an EDTA titrationMedium
All labs on this topic →