If a piston compresses air (2 moles) to half of its original volume, the temperature increases, according to the gas laws, the volume of the gas will be in step with its temperature. Does this mean that the compressed gas at its new temperature will expand according to its new temperature(say 500 degrees C)? For example. If I use the ideal gas equation to check for the potential new pressure, n-2 t-773 kelvins r-0.08206 v-1 litre p-126 bars. So, will 126 bars be the new pressure? I cant find this stuff on the net, but i think this is how it works. Can you help clarify? Thank you.