Respuesta :

We can rearrange the ideal gas equation:
PV = nRT, where n is the number of moles equivalent to:
n = mass / Mr
PV = mRT/Mr
m/V = PMr/RT
density = PMr / RT; where Mr and R are constant.