Consider a piston-cylinder device with a piston surface area of 0.1m^2 initially filled with 0.05m^3 saturated water vapor at the atmospheric pressure of 100kPa. Now cold water is poured outside the cylinder, and the steam inside starts condensing as a result of heat transfer to the cooling water outside. If the piston is stuck at its initial position, determine the friction force acting on the piston and the amount of heat transfer when the temperature inside the cylinder drops to 30 degrees C.