Initial volume of oxygen,  = 30 litres = 30 × 
Initial gauge pressure,  = 15 atm = 15 × 1.013 ×  Pa
Initial temperature,  = 27°C = 300 K
Universal gas constant, R = 8.314 J mol
Let the initial number of moles of oxygen gas in the cylinder be .
According to the ideal gas equation:
  = 18.276
Initial mass of ,  = 18.276 × 32 = 584.84 g
After some oxygen is withdrawn from the cylinder, the pressure and temperature reduce.
Let  be the number of moles of oxygen left in the cylinder.
Volume, = 30 litres = 30 × 1
Gauge pressure,  = 11 atm = 11 × 1.013 ×  Pa
Temperature,  = 17°C = 290 K
Again according to the ideal gas equation:
= 13.86
Mass of oxygen remaining in the cylinder,
 = 13.86 × 32 = 453.1 g
The mass of oxygen taken out of the cylinder
Therefore, 0.131 kg of oxygen is taken out of the cylinder.