The number of moles of nitrogen gas is 2.5 moles.
[tex]1 \ molecule of \ N_2 = 2\ atoms \ of N[/tex]
molecules= [tex]3.0\times10^{24} atoms[/tex]
According to Avogadro's law :-
[tex]1\ mole=6.02\times10^{23} molecules[/tex]
So, to find the number of moles of gas we divide [tex]1.5 \times10^{24} molecules[/tex] by [tex]6.022 \times10^{23} molecules[/tex]
[tex]\frac{1.5\times10^{24}\ molecules }{6.022\times10^{23}molecules/mol} \\\\=0.249\times10\\\\=2.5\ moles[/tex]
Hence, the moles of nitrogen gas are in the sample is 2.5 moles.
To know more about:-
https://brainly.com/question/11715847