A flask contains a gas mixture of hydrogen, nitrogen and methane. The total pressure of the mix is 3.0 atm. The partial pressure of the hydrogen is 0.5 atm, and the partial pressure of the methane is 1.5 atm. What is the partial pressure of the nitrogen?