where gas is in a chamber with a flexible wall