Look up the latent heat of fusion (Lf) and the latent heat of vaporization (LV) in J/g of water and the specific heats for w solid, liquid, and gas. The hard part about this problem is knowing in what phase that they end up. In order to solve this, you need to constantly check that the heat gained by the ice is lost by the steam as they approach the same state. You might just jump in and assume that they'll both end up as liquid water at the same final temperature. If it doesn't work, you'll have insight into how they end up.
Assuming they both end up as water:
mIcI(0 - TIi) + mILf + mIcw(Tf - 0) = mscs(Tsi - 100) + msLV + mscw(100 - Tf) and solve for Tf
If it doesn't work, It may be that only some of the steam condenses because LV is so large. In that case the last term would not be there and you would be solving for m in mLV and Tf would be 100 degrees C.
Note that L's are often in kJ/g and c's in J/gC
Aaron L.
Thanks for your help!04/15/23