1. A rigid container with volume 7 ft3 is divided into two equal volumes by a partition. Both sides contain nitrogen; one side is at 300 lbf /in.2, 400 F and the other is at 30 lbf /in.2, 200 F. The partition ruptures, and the nitrogen comes to a uniform state at 160 F. Assume the temperature of the surroundings is 68 F. Determine the work done and the entropy generation for the process.
2. A constant-pressure piston/cylinder is 2 lbm steel and it contains 1 lbm air at 540 R, 60 psia. The system is now heated to 2600 R by a 2800 R source, and the steel has the same temperature as the air. Find the entropy generation using constant specific heats.