Solve the following problem:
Q: A piston/cylinder has 2 kg ammonia at 50°C, 100 kPa which is compressed to 1000 kPa. The process happens so slowly that the temperature is constant. Find the heat transfer and work for the process assuming it to be reversible. You should solve the given problem in a steps.You need to include all the units which are needed to complete the problem