diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2837/CH23/EX23.4/Ex23_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2837/CH23/EX23.4/Ex23_4.sce')
-rwxr-xr-x | 2837/CH23/EX23.4/Ex23_4.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2837/CH23/EX23.4/Ex23_4.sce b/2837/CH23/EX23.4/Ex23_4.sce new file mode 100755 index 000000000..c8ced23f3 --- /dev/null +++ b/2837/CH23/EX23.4/Ex23_4.sce @@ -0,0 +1,21 @@ +clc
+clear
+//Initalization of variables
+pa=14.7
+pv=0.0356
+pv2=0.04
+cp=0.24
+t1=70 //F
+t2=15 //F
+R=53.35
+V=8000 //ft^3
+//calculations
+sh=0.622*pv/(pa-pv2)
+hm2=cp*t1+ sh*1092.3
+hm1=cp*t2+sh*1068.4
+Q=hm2-hm1
+m=144*(pa-pv2)*V/(R*(t2+460))
+Q2=Q*m
+//results
+printf("Heat added per min = %d Btu/min",Q2)
+disp("The answer is a bit different due to rounding off error in the textbook")
|