The ideal gas law is the equation of state of a hypothetical ideal gas. It is a good approximation to the behaviour of many gases under many conditions, although it has several limitations. It was first stated by Émile Clapeyron in 1834 as a combination of Boyle's law and Charles's law. The ideal gas law is often introduced in its common form:
where is the pressure of the gas, is the volume of the gas, is the amount of substance of gas (also known as number of moles), is the temperature of the gas and is the ideal, or universal, gas constant.
If you have sample of oxygen and only temperature (and volume) is changeable (R,n,P are constant), you can use formula of ideal gas low in a next form:
PV=nRT
V/T=nR/P
nR/P = const