summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.10/Chapter1_Example10.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.10/Chapter1_Example10.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.10/Chapter1_Example10.sce')
-rw-r--r--1808/CH1/EX1.10/Chapter1_Example10.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1808/CH1/EX1.10/Chapter1_Example10.sce b/1808/CH1/EX1.10/Chapter1_Example10.sce
new file mode 100644
index 000000000..833ebad00
--- /dev/null
+++ b/1808/CH1/EX1.10/Chapter1_Example10.sce
@@ -0,0 +1,22 @@
+clc
+clear
+//INPUT DATA
+IP=50;//indicated power in kW
+pmi=7;//mean effective pressure in bar
+L=0.10;//stroke in m
+d=0.08;//bore in m
+nc=4;//number of cylinders
+n=2;//for 4 cylinders
+N=3800;//speed in rpm
+
+//CALCULATIONS
+n1=(IP*4*n*60)/(pmi*100*L*3.14*d^2*nc);//Average misfire in rpm
+n2=N/2;//Theoretical number of explosions/min
+na=N/2;//actual no.of explosion/min
+n11=n2-na;//Average number of misfires
+IP1=pmi*100*L*3.14*((0.08^2)/4)*N*nc/(n*60);//Indicated power based on actual speed
+
+//OUTPUT
+printf('(i)Average misfire is %3.d rpm \n (ii)Indicated power based on actual speed is %3.3f kW',n1,IP1)
+
+