Efficiency for a thermodynamic process is defined as: