A piston-cylinder device, with a set of stops on the top, initially contains 3 kg of air at 200 kPa and 27°C. Heat is now transferred to the air, and the piston rises until it hits the stops, at which point the volume is twice the initial volume. More heat is transferred until the pressure inside the cylinder also doubles. Determine the work done and the amount of heat transfer for this process. Also, show the process on a P-v diagram.