compressing an ideal gas
since i am a crazy engineer so i had this crazy doubt that,
If we have an insulted container having a gas like say helium(which is close to ideal gas) and has a piston on top.
Now if we put a weight on the piston and allow the gas to be compressed to some volume will the gas get cooled?
can anyone please can tell whether my reasoning is correct or wrong?