Two ideal gases are in a container but separated by an insulating barrier. The gases are both at a pressure of 2 atm but are at different temperatures and volumes.
Gas 1: Cv,m = 20 J/mol·K, V1 = 2.5 litre, T = 250 K
Gas 2: Cv,m = 30 J/mol·K, V2 = 7.5 litre, T = 500 K
The barrier is removed and the gases are allowed to mix. Calculate the final temperature and pressure as well as the change in entropy upon mixing.