summaryrefslogtreecommitdiff
path: root/443/CH20/EX20.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /443/CH20/EX20.3
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 '443/CH20/EX20.3')
-rwxr-xr-x443/CH20/EX20.3/20_3.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/443/CH20/EX20.3/20_3.sce b/443/CH20/EX20.3/20_3.sce
new file mode 100755
index 000000000..3f3bca9c8
--- /dev/null
+++ b/443/CH20/EX20.3/20_3.sce
@@ -0,0 +1,23 @@
+pathname=get_absolute_file_path('20_3.sce')
+filename=pathname+filesep()+'20_3_data.sci'
+exec(filename)
+//Question 20.3
+//hydrogen ratio
+h=(26*1)/(12*12)
+//Fuel to air ratio
+far=0.33*(1+h)*((CO2+CO)/N)
+//Mass flow of air
+ma=ff/(far*60)
+//Volume total (in m3/cycle)
+Vtot=(%pi/4*(d*d)*(2*l)*(cr/(cr-1)))
+//Scavanger density
+psc=(ep/(r*t))
+//Theoretical mass flow
+tmf=psc*Vtot*s
+//Scavanger efficiency
+nsc=(ma/tmf)
+//Indicated mean effective pressure (in kN/m2)
+imep = (nsc*psc)*(cr/(cr-1))*(nith*far*CV)
+printf("\n\nRESULTS\n\n")
+printf("\nScavanger efficiency: %f\n",nsc)
+printf("\nIndicated mean effective pressure %f\n",imep) \ No newline at end of file