A mixture of gas has a following composition: 18 moles _{2},78 mol _{2} and 4 mols _{2}.
(a) Calculate the mole fraction of each of the gases.
(b) Calculate the mass fraction of each of the gases.