A rigid tank contains an ideal gas at 300 kPa and 600 K. Now half of the gas is withdrawn from the tank and the gas is found at 100 kPa at the end of the process. Determine (a) the final temperature of the gas and (b) the final pressure if no mass was withdrawn from the tank and the same final temperature was reached at the end of the process.