The entropy of adiabatic mixing n1 moles of an ideal gas 1 and n2 moles of an ideal gas 2 is given by the formula:
the moles of nitrogen N2 are: n1 = 2000 g/(28 g/mole) = 71.4286 mole
the moles of hydrogen H2 are: n2 = 500 g/(2 g/mole) = 250 mole
Putting n1 and n2 in the formula and multiplying by R = 8.31 J/(K*mole) gives that the rate of entropy increase per 1 second is:
S = 1414.883 J/(K*sec)
Comments