8. (15 points) A rigid tank initially contains 10 kg nitrogen (N2) at 500 kPa and 327 °C (State 1). The N2is gradually cooled to 27 °C (State 2) due

to the heat loss from N2 to ambient air at 20 °C, which is considered as boundary temperature of heat transfer. O Please determine the pressure of N2 at state 2. p) Please calculate the change in the total entropy of N2 during this cooling process. ) Please find the heat loss from tank to ambient air during this process. Bp) Please determine the entropy generation during this process. 2p) Please determine the nature of this process (is it reversible, irreversible orimpossible?).

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7