During the transformation of matter from the solid to the liquid state, the heat supplied…