How much energy is required to change a 40 g ice cube from ice at -40°C to steam at 100°C?

1 answer

do it in temperature pieces:
-40 to 0C, ice
melting ice
heating water 0C to 100C
changing water to steam.

then add the four heats.