A cylinder with a movable piston contains an ideal gas. Both the amount of gas and the volume of the container can be adjusted, but the temperature remains constant at 300.0 K. Use the ideal gas law and the individual gas law relationships to answer the question below:

PV = nRT where R-0.08206 (L x atm /mol-K)

Calculate the number of moles of the gases in the cylinder when the volume is set to 0.500 L and the pressure is 1.00 atm.