Problem: Balancing Chemical Equations, Part I

Learn how to balance chemical equations using linear programming.

Overview of the problem

Balancing a chemical equation essentially means respecting the conservation of mass and ensuring that the same number of atoms of an element are present on the left-hand side (reactants) and the right-hand side (products). Simply put, if you have X grams of an element as a reactant, the product will also have X grams of that element in the products (ideal conditions).

Get hands-on with 1200+ tech skills courses.