Two different ideal diatomic gases A and B are initially in the same state. A and B are then expanded to same final volume through adiabatic and isothermal process respectively.