summaryrefslogtreecommitdiff
path: root/3685/CH19/EX19.4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH19/EX19.4
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 '3685/CH19/EX19.4')
-rw-r--r--3685/CH19/EX19.4/Ex19_4.sce26
-rw-r--r--3685/CH19/EX19.4/Ex19_4.txt7
2 files changed, 33 insertions, 0 deletions
diff --git a/3685/CH19/EX19.4/Ex19_4.sce b/3685/CH19/EX19.4/Ex19_4.sce
new file mode 100644
index 000000000..d9f366b71
--- /dev/null
+++ b/3685/CH19/EX19.4/Ex19_4.sce
@@ -0,0 +1,26 @@
+clc
+// Given that
+m = 3 // Mass flow rate in kg/min
+p1 = 1 // Initial pressure in bar
+T1 = 300 // Initial temperature in K
+p3 = 6 // Pressure after compression in bar
+p5 = 15 // Maximum pressure in bar
+N = 300 // Rpm of compressure
+n = 1.3 // Index of compression and expansion
+r = 1.5 // Stroke to bore ratio
+R = 287 // Gas constant of air
+t = 15 // Temperature in degree centigrade
+printf("\n Example 19.4\n")
+T = t+273
+Wc = (n/(n-1))*(m/60)*(R*(1e-3)*T1)*(((p3/p1)^((n-1)/n))-1)
+r1 = (p5/p1)^(1/n)// Where r1 = V1/Vc
+r2 = r1-1 // Where r2 = Vs/Vc
+r3 = (p3/p1)^(1/n)
+n_vol = (r1-r3)*(T/T1)/r2
+V = m*R*T/(2*(1e5)*N)
+Vs = V/n_vol
+d = (Vs*4/(%pi*r))^(1/3)
+l = r*d
+printf("\n Power input is %f kW, \n Volumetric efficiency is %f percent, \n Bore of the cylinder is %f m, \n Stroke of the cylinder is %f m",Wc,n_vol*100,d,l)
+//The answers vary due to round off error
+
diff --git a/3685/CH19/EX19.4/Ex19_4.txt b/3685/CH19/EX19.4/Ex19_4.txt
new file mode 100644
index 000000000..160c83f58
--- /dev/null
+++ b/3685/CH19/EX19.4/Ex19_4.txt
@@ -0,0 +1,7 @@
+
+ Example 19.4
+
+ Power input is 9.552761 kW,
+ Volumetric efficiency is 55.465731 percent,
+ Bore of the cylinder is 0.184932 m,
+ Stroke of the cylinder is 0.277398 m \ No newline at end of file