Ammonia vapor is compressed inside a cylinder by an external force acting on the piston. The ammonia is initially at 30?C, 500 kPa, and the final pressure is 1400 kPa. The following data have been measured for the process:
Determine the work done by the ammonia by summing the area below the P-V process curve. As you plot it, P is the height and the change in volume is the base of a number of rectangles.