air is contained in a rigid tank with a volume of 2 m3, initially at 10 bar and 300 k. heat is transferred to the tank until its temperature reaches 400 k. during this process a pressure-relief valve allows air to escape and maintain the pressure constant at 10 bar. neglecting kinetic and potential energy variation e↵ects, and using ideal gas equations with constant specific heat at 300 k, determine, (a) the mass of air that escapes the tank (in kg), and (b) the amount of heat transferred to the tank.