An insulated tank having a total volume of 0.6 m3 is divided into two compartments. Initially one compartment contains 0.4 m3 of hydrogen at 127 oC, 2 bar and the other contains nitrogen at 27 oC, 4 bar. The gases are allowed to mix until an equilibrium state is attained. Assume the ideal gas model with constant specific heats, determine

a. The final temperature, in oC.

b. The final pressure, in bar.

c. The amount of entropy produced, in KJ/K.