In a container separated by one partition, one room contains 10 mol idea gas A with 1 atm at 300 K, and the other room contains 5 mol idea gas B with 0.5 atm at 300 K.
(a) (20%) Calculate the entropy change after mixing idea gas A and idea gas B when the gases are identical and when the gases are different.
(b) (5%) What is the final pressure of the mixture?