Assignment:
A rigid tank contains 5 kg of an ideal gas at atm and 40° C. Now valve is open, and half of mass of the gas is allowed to escape. If the final pressure in the tank is 1.5 atm, what is the final temperature in the tank?
Provide complete and step by step solution for the question and show calculations and use formulas.