A possible ideal-gas cycle operates as follows.
(i) from an initial state $\left(p_1, V_1\right)$ the gas is cooled at constant pressure to $\left(p_1, V_2\right)$.
(ii) the gas is heated at constant volume to $\left(p_2, V_2\right)$.
(iii) the gas expands adiabatically back to $\left(p_1, V_1\right)$.
Assuming constant heat capacities, show that the thermal efficiency is
$$
1-\gamma \frac{\left(V_1 / V_2\right)-1}{\left(p_2 / p_1\right)-1}
$$