C.V. Total setup
Assume the exit flow has the same pressure as the inlet flow then the pressure part of the entropy cancels out and we have
Exit same T, P => h3 = h4 = he; s3 = s4 = se
Note: The solution using constant heat capacity writes the entropy the pressure terms cancel out so we get