For example, the mechanical work done by the system may be related to the pressure P and volume change d V . The pressure is the intensive generalized force, while the volume change is the extensive generalized displacement: