A system is taken from state A to B thought three different paths 1, 2 and 3. The work done is maximum in: