Workdone during adiabatic expansion is given by (where p1 v1, T1 = Pressure, volume and temperature for the initial condition of gas, p2, v2, T2 = Corresponding values for the final condition of gas, R = Gas constant, and γ = Ratio of specific heats)
The heat absorbed or rejected by the working substance is given by (where ds = Increase or decrease of entropy, T = Absolute temperature, and dQ = Heat absorbed or rejected)