A rigid, insulated tank that is initially evacuated is connected through a valve to a supply line that carries helium at 200 kPa and 120 degrees C. Now the valve is opened and helium is allowed to flow into the tank until the pressure reaches 200kPa, at which point the valve is closed. Determine the flow work of the helium in the supply line and the final temperature in the tank?