1. An insulated 0.15-m3 tank contains helium at 3 MPa and 130°C. A valve is now opened, allowing some helium to escape. The valve is closed when one-half of the initial mass has escaped. Determine the final temperature and pressure in the tank.
2. An insulated 40-ft3 rigid tank contains air at 50 psia and 120°F. A valve connected to the tank is now opened, and air is allowed to escape until the pressure inside drops to 25 psia. The air temperature during this process is maintained constant by an electric resistance heater placed in the tank. Determine the electrical work done during this process.