Two rigid boxes containing different ideal gases are placed on a table. Box A contains one mole of nitrogen at temperature To, while box B contains one mole of helium at temperature (7/3) T0.The boxes are then put into thermal contact with each other, and heat flows between them until the gases reach a common final temperature (Ignore the heat capacity of boxes). Then the final temperature of the gases, Tf in terms of To is
Here, the change in internal energy of the system is zero. The increase in the internal energy of one box will be equal to the decrease in internal energy of the other box. The boxes are shown in fig.
The change in internal energy is given by
Now,
or
or