diff options
Diffstat (limited to '1808/CH1/EX1.4/Chapter1_Example4.sce')
-rw-r--r-- | 1808/CH1/EX1.4/Chapter1_Example4.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1808/CH1/EX1.4/Chapter1_Example4.sce b/1808/CH1/EX1.4/Chapter1_Example4.sce new file mode 100644 index 000000000..99132bb8e --- /dev/null +++ b/1808/CH1/EX1.4/Chapter1_Example4.sce @@ -0,0 +1,22 @@ +clc
+clear
+//INPUT DATA
+BP=17;//Brake power in kW
+mf=6;//Mass flow rate in kg/h
+cv=44200;//calorific value in kJ/kg
+L=0.1;//Stroke in m
+d=0.06;//bore in m
+Rc=8;//copression ratio
+n=2;//for four cylinders
+nc=4;//number of cylinders
+N=50;//speed in rps
+
+//CALCULATIONS
+nbt=(BP/((mf/3600)*cv))*100;//Brake thermal efficiency in percentage
+vs=(3.14*d^2*L)/4;//swept volume in m^3
+vc=vs/7;//Clearance volume in m^3
+pmb=((BP*n)/(L*(3.14*d^2/4)*N*nc));//brake ean pressure in kPa
+no=(1-(1/(Rc^(1.4-1))))*100;//Air standard efficiency in percentage
+
+//OUTPUT
+printf('(i)Brake thermal efficiency is %3.2f percentage \n (ii)clearance volume is %3.9f m^3 \n (iii)Brake mean effective pressure is %3.2f kPa \n (iv)air standard efficiency is %3.2f percentage',nbt,vc,pmb,no)
|