In science class, students often have to work with the concepts of pressure and temperature. You may be asked to convert the pressure of a gas sample into its temperature. To do so, you can use the ideal gas law. The ideal gas law states that the product of pressure and volume is equal to the number of moles of the gas, multiplied by the ideal gas constant, multiplied by the temperature. It can be written as PV=nRT and, by using it, you can convert between pressure and temperature.
Determine how many moles are in your gas sample. The conversion factor from liters of gas to moles is 22.4 liters of gas equal one mole of gas. Thus, if you have 100 liters of gas, then you have 4.46 moles. Use that for the n coefficient in the ideal gas equation.
Determine the volume of your gas at each pressure point. This is experimental data that you should either measure in lab or be given when converting between pressure and temperature.
Rewrite the ideal gas equation to solve for temperature. The equation can be rewritten as T= PV/nR.
Plug in your values of P and V for each point as well as your value of n, which is the same for every point, and R, which is equal to 8.3145 J/mol K for each point, to solve for the temperature.