we have 1.79g of gas per liter of gas
there are 22.4 liters of gas in 1 mole at STP so we have 1(L) / 22.4 (L/ mole) of gas in a liter
= 0.04464 moles
so in 1 liter 0.04464 moles has mass of 1.79g
1 mole has mass of 1.79 / 0.04464 = 40.01 g / mole ,, molar mass
there are 22.4 liters of gas in 1 mole at STP so we have 1(L) / 22.4 (L/ mole) of gas in a liter
= 0.04464 moles
so in 1 liter 0.04464 moles has mass of 1.79g
1 mole has mass of 1.79 / 0.04464 = 40.01 g / mole ,, molar mass