Solve the below in detail:
Q: A piston/cylinder device keeping a constant pressure has 1 kg water at 20oC and 1 kg of water at 100oC both at 500 kPa separated by a thin membrane. The membrane is broken and the water comes to a uniform state with no external heat transfer. Find the final temperature and the entropy generation for the process.