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