Explanation:
According to Boyle's law, pressure of a gas is inversely proportional to its volume at constant temperature and moles.
Mathematically, P = [tex]\frac{k}{V}[/tex]
where, k = proportionality constant
Also, formula for initial pressure and volume is as follows.
[tex]P_{i} = \frac{k_{i}}{V_{i}}[/tex]
or, [tex]k_{i} = P_{i} \times V_{i}[/tex]
= [tex]2 atm \times 15 L[/tex]
= 30 atm L
Now, we will calculate the value of [tex]k_{f}[/tex] as follows.
[tex]k_{f} = P_{f} \times V_{f}[/tex]
= [tex]4 atm \times 7.5 L[/tex]
= 30 atm L
Hence, as [tex]k_{i} = k_{f}[/tex] this means that it signifies that gas obeys boyle's law.