Question: Write a sub procedure to calculate the total heat required to vaporize given amount or ice. Specific details of the problem are as follows:

Write a sub procedure to calculate the total heat required to vaporize given amount or ice. Specific details

Write a sub procedure to calculate the total heat required to vaporize given amount or ice. Specific details of the problem are as follows: a. User should enter the mass of ice (grams), initial temperature of ice (C) and final temperature of steam (C) as input. The input for the program will be read from the cells by the code. b. The amount of heat required to heat the solid ice or liquid water is given by: Q = mxc, XAT The amount of heat required to convert the ice to liquid water is Q = nx AHfus The amount of heat required to the liquid to gas is Q = nxAHyap where n is number of moles, m is the mass. c. Water freezes at 0 C and boils at 100 C. The enthalpy of fusion for water (AHfus) is 6,01 kJ/mol, and its enthalpy for vaporization (AHvap) is 40,67kJ/mol. The specific heats (cs) of ice, liquid water and steam are 2,03 J/g.K, 4,18 J/g.K, and 1,84 J/g.K, respectively. d. The total heat required will be calculated by the program and printed as a message box and also to an appropriate cell.

Step by Step Solution

3.46 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

def calculateheatrequiredmassice initialtemp finaltemp Constants cice 203 Specific heat of ice JgK c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!