A rigid container is divided into two compartments of equal volume by a partition. One compartment contains 1 mole of ideal gas A at 1 atm, and the other contains 1 mole of ideal gas B at 1 atm. Calculate the increase in entropy which occurs when the partition between the two compartments is removed. If the first compartment had contained 2 moles of ideal gas A, what would have been the increases in entropy in each of the above two situations if both compartments had contained ideal gas A.