The water from a hydrated magnesium salt is driven off by heat in a closed system. If the steam generated exerts a pressure of 24.8 atm in a 2.00L container at 120 degrees C, determine the number of moles of H2O driven from the compound.

PV=nRT

solve for n

remember temp is in kelvins.