When an ideal gas is compressed adiabatically and reversibly, the final temperature is:
q =∆U - W, if adiabatic process q = 0, then − ∆U = −W, i.e.,a decrease in free energy brings in work done by the system(−W)s