In an engine, an almost ideal gas is compressed adiabatically to half its volume. In doing so, 2530 JJ of work is done on the gas.
How much heat flows into or out of the gas?
What is the change in internal energy of the gas?
Does its temperature rise or fall?