Generally, frictional losses are more predominant for the machines being not 100% efficient. This friction leads to the loss of energy in the form of heat, into the surroundings. Some of the supplied energy may be utilised to change the entropy (measure of randomness of the particles) of the system.
Answer:
Given that the temperature of the window is below the dew point it will condensate.
Explanation:
A psychrometric chart (like the one attached) will give you the information needed. This chart is for 14.696 psia.
On the bottom horizontal axes you have the dry-bulb temperature, in this case 70°F, going up from this point you can reach the 50% relative humidity curve (red point on chart), going horizontally from this point to the 100% relative humidity you get the dew point temperature (the point at which moisture will condensate) (blue point on chart). In this case the dew point is 50°C. Given that the temperature of the window is below the dew point it will condensate.