At 0°C and 5 atm, a given sample of gas occupies 75 L. The gas is compressed to a final volume of 30 L at 0°C.
solution:
initial state: p1=5 atm, v1=75L.
final state: v2=30L.
according to Boyle's law: p1v1=p2v2.
p2=p1v1/v2=(5*75)/30=12.5 atm.
The final pressure is 12.5 atm.