Theorem: Work of an Ideal Gas

The work done by an ideal gas depends on how its pressure and volume change.