Answer:
The long derivation for work of a mechanically reversible, isothermal compression was done with detailed steps as shown in the attachment.
Step-by-step explanation:
what is applied here is a long derivation from Work done in an isobaric process, the expression for the compressibility factor (Z) and the equation of state that was given. The requisite knowledge of Differentiation and Integration was used.
The detailed derivation from firs principle is as shown in the attachment.