summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.19/Chapter1_Example19.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH1/EX1.19/Chapter1_Example19.sce
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 '1808/CH1/EX1.19/Chapter1_Example19.sce')
-rw-r--r--1808/CH1/EX1.19/Chapter1_Example19.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1808/CH1/EX1.19/Chapter1_Example19.sce b/1808/CH1/EX1.19/Chapter1_Example19.sce
new file mode 100644
index 000000000..a4919ad59
--- /dev/null
+++ b/1808/CH1/EX1.19/Chapter1_Example19.sce
@@ -0,0 +1,22 @@
+clc
+clear
+//INPUT DATA
+Sp=8;//mean piston speed in m/s
+P=101.325;//atmospheric pressure in kPa
+Ra=0.287;//Gas constnat
+Ta=303;//assumed temperature in K
+x=0.5;//fuelair ratio
+nv=0.92;//volumetric efficiency in percentage
+L=0.136;//stroke in m
+d=0.125;//borre diameter in m
+nc=6;//number of cylinders
+
+//CALCULATIONS
+N=(Sp/(2*L));//Speed in rps
+Roa=(P/(Ra*Ta));//Density of air in kg/m^3
+Vs=(3.14*d^2*L*nc/4);//swept volume
+ma=(nv*Roa*Vs*N)/2;//mass flow rate of air in kg/s
+mf=ma*x;//mass flow rate of fuel
+mf1=(2*mf*10^2)/(N*nc);//mass of fuel injected per cylinder per cycle in g/cylinder/cycle
+ //OUTPUT
+ printf('(i)Mass flow rate of air is %3.4f kg/s \n (ii)mass of fuel injected per cylinder per cycle is %3.4f g/cylinder/cycle',ma,mf1)