A cylindrical chamber A of uniform cross section is divided into two parts X and Y by a movable piston P which can slide without friction inside the chamber. Initially part X contains