Solve the below problem:
Q: A frictionless piston/cylinder is loaded with a linear spring, spring constant 100 kN/m and the piston cross-sectional area is 0.1 m2. The cylinder initial volume of 20 L contains air at 200 kPa and ambient temperature, 10°C. The cylinder has a set of stops that prevent its volume from exceeding 50 L. A valve connects to a line flowing air at 800 kPa, 50°C. The valve is now opened, allowing air to flow in until the cylinder pressure reaches 800 kPa, at which point the temperature inside the cylinder is 80°C. The valve is then closed and the process ends.
a) Is the piston at the stops at the final state?
b) Taking the inside of the cylinder as a control volume, calculate the heat transfer during the process.
c) Calculate the net entropy change for this process.