if a gas is moved from a large container to a small container but its temperature and number of moles remain…

if a gas is moved from a large container to a small container but its temperature and number of moles remain the same, what would happen to the pressure of the gas?\nit would increase.\nit would be halved.\nit would stay the same.\nit would slightly decrease.
Answer
Explanation:
Step1: Recall ideal gas law
The ideal - gas law is $PV = nRT$, where $P$ is pressure, $V$ is volume, $n$ is the number of moles, $R$ is the ideal gas constant, and $T$ is temperature.
Step2: Rearrange for pressure
We can rewrite the ideal - gas law as $P=\frac{nRT}{V}$.
Step3: Analyze the change
Given that $n$, $R$, and $T$ are constant, and $V$ decreases (gas is moved from a large to a small container). Since $P$ is inversely proportional to $V$ ($P\propto\frac{1}{V}$ when $n$, $R$, and $T$ are constant), as $V$ decreases, $P$ increases.
Answer:
It would increase.