summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.26/Example_3_26.sce
blob: 14692fb3921d38d0c32b16a479c50f50c5036571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Example 3.26
clear;
clc;

//Given
Cp=4.2;//specific heat at constant pressure in J/K g
delH=10^7;//heat in J
T1=310;//initial temperature (K)
m=70000;//mass of the man in g
delHvap=2405;//latent heat of vapourization of water in J/g
//(a) To determine temterature after 24 hours
T2=(delH+(m*Cp*T1))/(m*Cp);//temperature after 24 hours in Kelvin
t2=T2-273;//temperature in degree Celsius
mprintf('(a) Temperature after 24 hours = %i oC',t2);

//(b) To determine the amount of water evaporated to maintain temperature
m=(delH*1)/delHvap;//mass of water in g
M=m/1000;//mass of water in kg
mprintf('\n (b) mass of water evaporated to maintain temperature = %f kg',M);
//end