summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.2/Chapter1_Example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH1/EX1.2/Chapter1_Example2.sce')
-rw-r--r--1808/CH1/EX1.2/Chapter1_Example2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1808/CH1/EX1.2/Chapter1_Example2.sce b/1808/CH1/EX1.2/Chapter1_Example2.sce
new file mode 100644
index 000000000..ddc732663
--- /dev/null
+++ b/1808/CH1/EX1.2/Chapter1_Example2.sce
@@ -0,0 +1,19 @@
+clc
+clear
+//INPUT DATA
+N=4000;//Speed in rpm
+T=150;//Torque developed in Nm
+n=2;//For Four stroke engine
+L=0.1;//Stroke in m
+D=0.07;//Diameter in m
+nc=6;//number of cylinders
+mf=20;//fuel consumption in kg/h
+cv=44000;//calorific value in kJ/kg
+
+//CALCULATIONS
+BP=(2*3.14*N*T/(60*1000));//Brake power in kW
+bmep=((BP*n)/(L*(3.14*0.07^2/4)*(N/60)*nc));//Bmep in kN/m^2
+nbt=(BP/((mf/3600)*cv))*100;//Brake thermal efficiency in percentage
+
+//OUTPUT
+printf('(i)The Brake power is %3.2f kW \n (ii)bmep is %3.2f kN/m^2 \n (iii)Brake thermal efficiency is %3.1f percentage ',BP,bmep,nbt)