summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.26/Example_3_26.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1019/CH3/EX3.26/Example_3_26.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1019/CH3/EX3.26/Example_3_26.sce')
-rw-r--r--1019/CH3/EX3.26/Example_3_26.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1019/CH3/EX3.26/Example_3_26.sce b/1019/CH3/EX3.26/Example_3_26.sce
new file mode 100644
index 000000000..14692fb39
--- /dev/null
+++ b/1019/CH3/EX3.26/Example_3_26.sce
@@ -0,0 +1,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 \ No newline at end of file