summaryrefslogtreecommitdiff
path: root/2504/CH12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2504/CH12
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 '2504/CH12')
-rwxr-xr-x2504/CH12/EX12.1/12_1.sce25
-rwxr-xr-x2504/CH12/EX12.2/12_2.sce15
-rwxr-xr-x2504/CH12/EX12.3/12_3.sce23
-rwxr-xr-x2504/CH12/EX12.4/12_4.sce17
-rwxr-xr-x2504/CH12/EX12.5/12_5.sce21
5 files changed, 101 insertions, 0 deletions
diff --git a/2504/CH12/EX12.1/12_1.sce b/2504/CH12/EX12.1/12_1.sce
new file mode 100755
index 000000000..65d2a0693
--- /dev/null
+++ b/2504/CH12/EX12.1/12_1.sce
@@ -0,0 +1,25 @@
+clc
+//initialisation of variables
+clear
+d= 0.0764 //lbm/ft^3
+u= 3.74*10^-7 //lbf sec/ft^2
+D= 15 //in
+g= 32.2 //ft/sec^2
+p= 14.7 //lb/in^2
+r1= [0.02 0.04 0.06 0.08 0.1 1.15]
+r2= [0.0338 0.0267 0.0199 0.0159 0.0132 0.0100]
+r3= [0.46 0.92 1.38 1.84 2.3 2.64]
+r4= [2.97 2.35 1.75 1.4 1.16 0.88]
+r5= [0.0206 0.0163 0.0121 0.0097 0.0081 0.0061]
+//CALCULATIONS
+re= (d/u)*(p*100*2*%pi/60)*(D/12)^2/g
+//RESULTS
+printf ('Reynolds Number = %.2e ',re)
+xtitle("","m lbm/sec", "dPs lbf/ft^2")
+
+disp(r1)
+disp(r2)
+disp(r3)
+disp(r4)
+disp(r5)
+plot(r3,r5)
diff --git a/2504/CH12/EX12.2/12_2.sce b/2504/CH12/EX12.2/12_2.sce
new file mode 100755
index 000000000..ba474275c
--- /dev/null
+++ b/2504/CH12/EX12.2/12_2.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+clear
+psif= 10.2 //lbf/in^2
+usit= 3.8*10^-7 //lbf sec/ft^2
+usif= 3.52*10^-7 //lbf sec/ft^2
+Tsit= 530 //R
+Tsif= 480 //R
+wf= 15000 //rev/min
+//CALCULATIONS
+Psit= psif*usit*sqrt(Tsit/Tsif)/usif
+wt= wf*sqrt(Tsit/Tsif)
+//RESULTS
+printf ('Pressure in the test cell = %.1f lbf/in^2',Psit)
+printf ('\n Compressor speed = %.f rev.min',wt)
diff --git a/2504/CH12/EX12.3/12_3.sce b/2504/CH12/EX12.3/12_3.sce
new file mode 100755
index 000000000..1cd9d91c9
--- /dev/null
+++ b/2504/CH12/EX12.3/12_3.sce
@@ -0,0 +1,23 @@
+clc
+//initialisation of variables
+clear
+w= 62.3 //lbf/ft^3
+d= 0.375 //in
+ro= 0.75 //ft
+l= 1.25 //ft
+b= 120 //degrees
+do= 0.25 //in
+p= 750 //lbf/in^2
+g= 32.1 //ft/sec^2
+f= 0.03
+f1= 0.9
+f2= 0.3
+w1= 60 //rad/sec
+//CALCULATIONS
+Q= sqrt(((p/w)+((60*ro)^2/(2*g))+do)*%pi^2*g*(d/12)^4/((d/do)^4-1+(l*f/(d/12))+f1+f2))*0.353
+Vwo= w1*ro+(4*Q/(%pi*(do/12)^2))*cosd(b)
+C= w*Q*Vwo*ro/g
+//RESULTS
+printf ('Flow Rate = %.4f ft^3/sec',Q)
+printf ('\n Vwo = %.2f ft/sec',Vwo)
+printf ('\n Driving Torque = %.3f lbf ft',C)
diff --git a/2504/CH12/EX12.4/12_4.sce b/2504/CH12/EX12.4/12_4.sce
new file mode 100755
index 000000000..a0d86c729
--- /dev/null
+++ b/2504/CH12/EX12.4/12_4.sce
@@ -0,0 +1,17 @@
+clc
+//initialisation of variables
+clear
+W= 38 //rev/sec
+w= 62.4 //lbf/ft^3
+m= 2000 //lbm/sec
+g= 32.2 //ft/sec^2
+ps= 5000 //lbf/ft^2
+S3= 4.6
+e= 0.91
+//CALCULATIONS
+S1= W*(w*m^2/(g*ps)^3)^0.25
+D= S3*(m^2/(w*g*ps))^0.25
+//RESULTS
+printf ('S1 = %.3f',S1)
+printf ('\n Diameter = %.2f ft',D)
+printf ('\n efficiency = %.2f ',e)
diff --git a/2504/CH12/EX12.5/12_5.sce b/2504/CH12/EX12.5/12_5.sce
new file mode 100755
index 000000000..1eed24d19
--- /dev/null
+++ b/2504/CH12/EX12.5/12_5.sce
@@ -0,0 +1,21 @@
+clc
+//initialisation of variables
+clear
+d= 6 //in
+f= 0.25
+l= 1200 //ft
+p= 55 //lbm/ft^3
+w= 740 //rev/min
+g= 32.2 //ft/sec^2
+n= 0.87
+d1= 1.78 //ft
+//CALCULATIONS
+D= (0.13*%pi^2*(d/12)^5/(8*f*l*0.012^2))^0.25*d1
+m= 0.012*p*(w*2*%pi/60)*D^3
+dps= 0.13*p*(w*2*%pi*D/60)^2/g
+P= m*10*dps/(p*n)
+//RESULTS
+printf ('Diameter = %.2f ft',D)
+printf ('\n Mass flow rate = %.1f lbm/sec',m)
+printf ('\n pressure rise = %.1f lbf/ft^2',dps)
+printf ('\n shaft power = %.2e ft lbf/sec',P)