A container has a volume of #18 L# and holds #9 mol# of gas. If the container is compressed such that its new volume is #8 L#, how many moles of gas must be released from the container to maintain a constant temperature and pressure?
When pressure and temperature are held constant, the number of moles is proportional to the volume of the container.
Note that in this example, the number of moles is exactly half the number of liters.
The initial condition is
The final condition is