summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.7/Chapter1_Example7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH1/EX1.7/Chapter1_Example7.sce')
-rw-r--r--1808/CH1/EX1.7/Chapter1_Example7.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1808/CH1/EX1.7/Chapter1_Example7.sce b/1808/CH1/EX1.7/Chapter1_Example7.sce
new file mode 100644
index 000000000..fed73a45e
--- /dev/null
+++ b/1808/CH1/EX1.7/Chapter1_Example7.sce
@@ -0,0 +1,20 @@
+clc
+clear
+//INPUT DATA
+BP=60;//Brake power in kW
+nm=0.8;//mechanical efficiency in percentage
+d=0.15;//bore in m
+L=0.15;//stroke in m
+n=4;//for 6 cylinders
+Ps=510;//piston speed in m/min
+pmi=5;//mean effective pressure in bar
+
+
+//CALCULATIONS
+IP=(BP/nm);//indicated power in kW
+A=(3.14*d^2/4);//area
+ne=(IP*60)/(pmi*100*L*A*n);//No.of explosions
+N=(Ps/(2*L));//speed of the engine in rpm
+
+//OUTPUT
+printf('(i)No.of explosions are %3.2f /min \n (ii)speed of the engine is %3.d rpm ',ne,N)