>>14170194>>14170250You'll need more than this.
First assume no heat enters or leaves the system.
This means it is an adiabatic process.
https://en.wikipedia.org/wiki/Adiabatic_process#Ideal_gas_(reversible_process)You want to solve for pressure then use PV = nRT to get the temperature.
You will need more information about the gas to do the computation (you will need the heat capacity ratio)
https://en.wikipedia.org/wiki/Heat_capacity_ratioThis will be a number between 1 and 2 depending on the gas and the initial temperature.
If your initial pressure is P then you final pressure will be P*2^? (for the half volume case). Let T be the initial temp.
PV/T = (P*2^?)*(V/2)/(T_final)
T_final = T*2^(?-1)
T = 293.15K
for T_final to be 313.15K, you would need ? = 1+ log(313.15 / 293.15)/log(2) ~ 1.09521 which would mean you have a gas with many degrees of freedom.
Dry air has ? = 1.4 at 20 degrees Celsius.
This would give T_final = 293.15*2^(0.4) ~ 386.8K = 113.7C