Solve the below problem:
Q: Air in a piston/cylinder arrangement shown is at 200 kPa, 300 K with a volume of 0.5 m3. If the piston is at the stops, the volume is 1 m3 and a pressure of 400 kPa is required to raise the piston. The air is then heated from the initial state to 1500 K by a 1900 K reservoir. Find the total irreversibility in the process assuming surroundings are at 20°C.