‘n’ moles of an ideal gas undergoes a process A to B as shown in the figure. The maximum temperature of the gas during the process will be