CASE 1: According to the ideal gas law, how many moles of gas are present in container 1 before the valve is open? How many moles of gas are present in container 2 before the valve is open? Does the total number of moles of gas in the two containers change after the valve is open? In the final equilibrium state, are the temperatures in the two containers (a) the same or (b) different? (If they are the same, then call that T). Does the overall system do any work on the surroundings? Does the overall system exchange any heat with the surroundings? From the first law of thermodynamics, what does that tell you about the change in internal energy of the overall system? From this, what is the final temperature? What is the final pressure? What are the final number of moles of gas present in container 1? How does that compare with the initial number of moles of gas present in container 1?