This task can be solved by using Ideal gas law. 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 various conditions, although it has several limitations. 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, equal to the product of the Boltzmann constant and the Avogadro constant.
In SI units, is measured in pascals, is measured in cubic metres, is measured in moles, and in kelvin (273.15 Kelvin = 0.00 degrees Celsius). has the value or if using pressure in standard atmospheres (atm) instead of pascals, and volume in liters instead of cubic metres.
In this task amount of helium is constant, R is constant too. Volume, temperature and pressure is changeable, but two last one is given:
For both cases: