In class we're currently learning about reversible and irreversible adiabatic processes. For reversible process, we got dq=0, so dU = dw = -P*dV = Cv*dT. What I don't get is where did the Cv*dT come from? I remember q=C*dT, but dq = 0 so I'm not sure what that means? Also, where does Cv*dT apply? In irreversible process, is dU also equal to Cv*dT? And when would we ever use Cp? Any help clarifying this is appreciable. Thank you.