I'm working on a question which asks me to do two things. I've balanced the related equation as:
$$\ce{6H2O + 6CO2 -> C6H12O6 + 6O2}$$
Now, if I have $44$ grams of $\ce{CO2}$ and $36$ grams of $\ce{H2O}$, how many moles of glucose will I have? The molecular mass of $\ce{CO2}$ is $44\mathrm{~g/mole}$, and that of $\ce{H2O}$ is $18\mathrm{~g/mole}$. Do I need to determine how many moles of each element are in the certain amount of grams for each compound, and then use that to determine how many moles are in the glucose?
Secondly, for the same amounts of $\ce{CO2}$ and $\ce{H2O}$, I need to figure the theoretical yield. Am I correct in saying since for ever 6 molecules of $\ce{H2O}$ and $\ce{CO2}$ I get 1 molecule of glucose, I would do
$$36\text{ grams of } \ce{H2O} \times \left( \frac{1~\mathrm{mol}~\ce{H2O}}{18\mathrm{g}~\ce{H2O}} \right) \times \left(\frac{1~\mathrm{mol}~\ce{C6H12O6}}{6~\mathrm{mol}~\ce{H2O}}\right)$$
Then take the same for $\ce{CO2}$? I'm unsure of what to do with the values after that.