Equation of reaction
NaHCO3 + HCl ---------> NaCl + H2O + CO2(g)
1)The mass(actual yield) of CO2 can be gotten by isolating it from other products and getting its mass.
Assume 1.0g of CO2 was gotten as a product of the experiment
2) For the theoretical yield
The mass of NaHCO3 was not stated, but for the purpose of this solution, I would assume 2g of NaHCO3 was used for the experiment. You can substitute any parameter by following the steps I follow
Number of mole of NaHCO3 = Mass of NaHCO3/ Molar Mass of NaHCO3
Number of mole of NaHCO3 = 2/84.01 = 0.0238 moles
1 mole of NaHCO3 yielded 1 mole of CO2
0.0238 moles of NaHCO3 will yield 0.0238 moles of CO2
Mass of CO2 = Number of moles * Molar Mass
Mass of CO2 = 0.0238 * 44 = 1.0472g
Theoretical yield of CO2 = 1.0472 grams
3) Percentage yield of CO2 = Actual yield/Theoretical yield *100%
Percentage yield of CO2 = 1.0/1.0472 *100
Percentage yield of CO2 = 95.49%