Question: what is pv=nrt used for?
Answer: At constant temperature and pressure the volume of a gas is directly proportional to the number of moles of gas. At constant temperature and volume the pressure of a gas is directly proportional to the number of moles of gas. Or you could think about the problem a bit and use PV=nRT. N2O is placed in a piston.