PV = nRT
where P is the pressure, V is the volume, n is the number of moles, R is the ideal gas constant, and T is the temperature.
At room temperature (25°C or 298 K) and pressure (1 atm or 101.325 kPa), the density of oxygen is approximately 1.429 g/L. Therefore, the mass of 4.0 liters of oxygen can be calculated as:
mass = density × volume
mass = 1.429 g/L × 4.0 L
mass = 5.716 g
Therefore, the mass of 4.0 liters of oxygen at room temperature and pressure is approximately 5.716 g.