As the water boils at a certain temperature, phase change happen without change in its temperature. The heat associated is called the latent heat of vaporization. We obtain the heat required by multiplying the mass of the water to the latent heat of vaporization.
Heat = 0.018 x 2.3 x 10000000 = 41400 J