A well-insulated rigid tank of volume 10 m3 is connected by a valve to a supply line carrying air at 227oC and 10 bar. The tank is initially evacuated. Air is allowed to flow into the tank until the pressure is p. Assuming ideal gas with constant specific heats, plot the tank temperature, the mass of air in the tank, and the amount of entropy produced versus the pressure p.