A gas sample at STP contains 1.15 oxygen and 1.55g nitrogen. What is the volume of the gas sample?

the answer 2.04. I want to know how to get the that answer

2 answers

figure the moles.
1 mole occupies 22.4L

1.15g O2 is 0.0359 moles O2
1.55g N2 is 0.0554 moles N2

A total of 0.091 moles * 22.4L/mole = 2.04 L
The 22.4L is from STP if your curious