Nitrogen at 500 KPa, 500K is in a 1m3 insulated tankconnected to a pipe with a value to a second
insulated initially empty tank of 0.5m3. The value isopened and the nitrogen fills both tanks. Find the
final temperature, pressure and the entropy generation thisprocess causes.(the gas constant of nitrogen is R=0.2968KJ/Kg?K)