PV Diagram simulation. Drag the points A, B, C, and D to explore different cycles. Check the spreadsheet to see the change in internal energy (∆U), the work done on the gas (W), and the heat added to the gas (Q). Also in the spreadsheet the efficiency of the cycle is calculated.