in chemistry, n molecules of an ideal gas have pressure (p), volume (v), and temperature (T) that stand in the following relation, where R is a constant. solve the equation for n, the number of molecules. PV= nRT