Gunpowder's burning rate increases with pressure, so it will burst containers but just burns in the open. Ignition of the powder packed behind a bullet must generate enough pressure to force it from the muzzle at high speed, but not enough to rupture the gun barrel.
The gas constant occurs in the ideal gas law, as follows: where P is the absolute pressure (SI unit pascals), V is the volume of gas (SI unit cubic metres), n is the amount of gas (SI unit moles), m is the mass (SI unit kilograms) contained in V, and T is the thermodynamic temperature (SI unit kelvins).
The difference between an ideal gas and a real gas is that real gases will not strictly follow the laws established for ideal gases, because of real-world characteristics. An ideal gas can follow the formula PV=nRT. (P-pressure, V-volume, n-amount of moles, R-Avogrado constant, T-absolute temperature). A real gas does not always follow this formula. 1  An ideal gas is infinitely compressible, a real gas will condense to a liquid at some pressure. 2  The particles of an ideal gas lose no energy to its container. 3  A real gas conducts and radiates heat, thereby losing energy.