summaryrefslogtreecommitdiff
path: root/2837/CH23
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2837/CH23
downloadScilab-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')
-rwxr-xr-x2837/CH23/EX23.1/Ex23_1.sce15
-rwxr-xr-x2837/CH23/EX23.2/Ex23_2.sce11
-rwxr-xr-x2837/CH23/EX23.3/Ex23_3.sce12
-rwxr-xr-x2837/CH23/EX23.4/Ex23_4.sce21
-rwxr-xr-x2837/CH23/EX23.5/Ex23_5.sce11
-rwxr-xr-x2837/CH23/EX23.6/Ex23_6.sce26
-rwxr-xr-x2837/CH23/EX23.7/Ex23_7.sce22
-rwxr-xr-x2837/CH23/EX23.8/Ex23_8.sce26
8 files changed, 144 insertions, 0 deletions
diff --git a/2837/CH23/EX23.1/Ex23_1.sce b/2837/CH23/EX23.1/Ex23_1.sce
new file mode 100755
index 000000000..a40aa3ce1
--- /dev/null
+++ b/2837/CH23/EX23.1/Ex23_1.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Initalization of variables
+pv=0.3631 //psia
+pa=14.7 //psia
+cp=0.24
+tw=70 //F
+td=80 //F
+hv1=1096.6 //Btu/lb
+hfb=38.06 //Btu/lb
+//calculations
+sh=0.622*pv/(pa-pv)
+sh1=(cp*tw -cp*td + sh*1054.3)/(hv1-hfb)
+//results
+printf("Specific humidity = %.5f lb/lb",sh1)
diff --git a/2837/CH23/EX23.2/Ex23_2.sce b/2837/CH23/EX23.2/Ex23_2.sce
new file mode 100755
index 000000000..efb7be4f3
--- /dev/null
+++ b/2837/CH23/EX23.2/Ex23_2.sce
@@ -0,0 +1,11 @@
+clc
+clear
+//Initalization of variables
+rel=0.9
+p1=0.0396 //psia
+p2=0.3631 //psia
+//calculations
+act=rel*p1
+RH=act/p2 *100
+//results
+printf("Relative humidity = %.1f percent",RH)
diff --git a/2837/CH23/EX23.3/Ex23_3.sce b/2837/CH23/EX23.3/Ex23_3.sce
new file mode 100755
index 000000000..de63f6845
--- /dev/null
+++ b/2837/CH23/EX23.3/Ex23_3.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//Initalization of variables
+pa=14.2
+rel=0.9
+sh=0.012 //lb/lb
+//calculations
+pv=(pa*sh)/(0.622-sh)
+sat=pv/rel
+tf=64.34 //F
+//results
+printf("From steam tables, by interpolation, Final temperature = %.2f F",tf)
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")
diff --git a/2837/CH23/EX23.5/Ex23_5.sce b/2837/CH23/EX23.5/Ex23_5.sce
new file mode 100755
index 000000000..2654d875e
--- /dev/null
+++ b/2837/CH23/EX23.5/Ex23_5.sce
@@ -0,0 +1,11 @@
+clc
+clear
+//Initalization of variables
+rel=0.45
+p1=0.4747 //psia
+disp("From steam table data,")
+//calculations
+act=rel*p1
+t2=54.94 //F
+//results
+printf("Temperature = %.2f F",t2)
diff --git a/2837/CH23/EX23.6/Ex23_6.sce b/2837/CH23/EX23.6/Ex23_6.sce
new file mode 100755
index 000000000..ce93cb311
--- /dev/null
+++ b/2837/CH23/EX23.6/Ex23_6.sce
@@ -0,0 +1,26 @@
+clc
+clear
+//Initalization of variables
+rel=0.6
+p1=0.6982 //psia
+pa=14.7 //psia
+t1=90 //F
+t2=54.94 //F
+cp=0.24
+p2=0.2136 //psia
+vol=4000 //ft
+t3=538 //R
+R=53.35
+//calculations
+act1=rel*p1
+sh1=0.622*act1/(pa-act1)
+hm1=cp*t1+sh1*1100.9
+sh2=0.622*p2/(pa-p2)
+hm2=cp*t2+sh2*1085.8
+con=sh1-sh2
+enth=con*23.01
+heat=hm1-hm2-enth
+mass=144*(pa-p2)*vol/(R*(t3))
+tonnage=mass*heat/200
+//results
+printf("Tonnage = %.1f tons ",tonnage)
diff --git a/2837/CH23/EX23.7/Ex23_7.sce b/2837/CH23/EX23.7/Ex23_7.sce
new file mode 100755
index 000000000..71a6e52b1
--- /dev/null
+++ b/2837/CH23/EX23.7/Ex23_7.sce
@@ -0,0 +1,22 @@
+clc
+clear
+//Initalization of variables
+p1=0.541 //psia
+rel=0.48
+pa=14.7 //psia
+t1=82 //F
+cp=0.24
+m1=0.75 //lb
+m2=0.25 //lb
+hm4=23.15 //Btu/lb
+mass=291 //lb
+//calculations
+p2=rel*p1
+sh=0.622*p2/(pa-p2)
+hm1=cp*t1 + sh*1097.5
+hm2=m1*hm1
+hm3=m2*41.67
+heat=hm2+hm3-hm4
+tonnage=heat*mass/200
+//results
+printf("Tonnage = %.2f tons",tonnage)
diff --git a/2837/CH23/EX23.8/Ex23_8.sce b/2837/CH23/EX23.8/Ex23_8.sce
new file mode 100755
index 000000000..11f66e85e
--- /dev/null
+++ b/2837/CH23/EX23.8/Ex23_8.sce
@@ -0,0 +1,26 @@
+clc
+clear
+//Initalization of variables
+ce=0.8
+t1=115 //F
+tc=75 //F
+td=85 //F
+pa=14.7 //psia
+p1=0.43 //psia
+p2=0.9492 //psia
+m1=159600
+m2=31.65
+R=53.35
+T=545 //R
+//calculations
+t2=t1-ce*(t1-tc)
+Pv=0.4298- (pa-p1)*(td-tc)/(2800- 1.3*tc)
+sh1=0.622*Pv/(pa-Pv)
+sh2=0.622 *p2/(pa-p2)
+mda=m1/m2
+V=mda*R*T/(144*(pa-Pv))
+amount=mda*(sh2-sh1)
+//results
+printf("Volume of entering air = %d cfm",V)
+printf("\n Amount of make up water = %.1f lb/min",amount)
+disp('The answers are a bit different due to rounding off error in textbook')