then the mass of ice melted is given by