Oui 

W12 = (P2V2- P1V1) /(g - 1) = nRT1 (T2/T1- 1) / (g - 1)