Molecules move in random motion within a liquid. The total internal energy of the liquid…