A piston-cylinder assembly contains ammonia, initially at P1=0.1 MPa, T1=15 C. The ammonia is compressed to a final stage where P2=1 MPa. During the process, the pressure and specific volume are related by Pv=constant and the work has a magnitude of 32 kJ. Sketch the process on P-v diagram. Determine the heat transfer, in kJ.