I have some small problems with understanding increased tempature due to adiabatic prosesses. For instance, if you have a pump and pump air into a tire, the tempature within the pump will rise. This happends because you preform work on the gass in order to compress it. But when you retract the handle back to it's start position, the volume will increase and the tempature will decrease. So how can the tempature net increase in this process, when you retrackt the handle equal amounts of times as you push it. Lest say we use equal amount of force both ways.
Another questions I have is; why does retreacting the handle decrease the internal energy of the gas? In this process, its your hand that does the work for the most part, and not the gas. So the gas wouldnt really transfer alot of energy (work).