In a heat engine designed by a theorist, a monatomic ideal gas of \( N \) molecules is taken through a cycle corresponding to a counterclockwise rectangular path in the \( (V, T) \) plane, with corners at \( \left(V_{1}, T_{1}\right),\left(V_{1}, T_{2}\right),\left(V_{2}, T_{2}\right) \), and \( \left(V_{2}, T_{1}\right) \), as shown.
(a) Find the heat which enters the gas and the work performed by the gas in each of the four steps of the cycle.
(b) Derive a formula for the efficiency of any Carnot engine operating between a high temperature reservoir with temperature \( T_{2} \) and a low-temperature reservoir with temperature \( T_{1} \), using the fact that the integral \( \oint d S=\oint ? Q / T \) around any closed path vanishes.