2D piston and PV diagram of the Carnot cycle: efficiency, work, heat flows, refrigerator and heat pump modes.