Content protected from screenshots
Question

How is the work done on the gas calculated when pressure changes in a finite number of steps?