From the equation, the number of moles of CaO formed is equal to the number of moles of calcium used.
So, from the question,
Mass of calcium = 5 g
Mass of oxygen = 2 g
Mass of calcium oxide = 7 g
Number of moles of oxygen = Number of moles of calcium
Moles of calcium = = 0.125
Moles of oxygen = = 0.0625
So, the number of moles of calcium is greater than the number of moles of oxygen.
Hence, the oxygen atom is the limiting reagent.
Therefore, the number of moles of calcium oxide = number of moles of oxygen.
Now, when 5 g of calcium is used in 20 g of oxygen, then
The number of moles of oxygen =
The number of moles of calcium = = 0.125
Here, the number of moles of calcium is lesser than the number of moles of oxygen.
So, here calcium is the limiting reagent.
Number of moles of calcium oxide =
The number of moles of calcium oxide = Number of moles of calcium.
So, the weight of calcium oxide formed in the second case is 7 g.
Law of conservation of mass is applicable to this equation.