summaryrefslogtreecommitdiff
path: root/1226/CH17/EX17.7/EX17_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1226/CH17/EX17.7/EX17_7.sce')
-rwxr-xr-x1226/CH17/EX17.7/EX17_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1226/CH17/EX17.7/EX17_7.sce b/1226/CH17/EX17.7/EX17_7.sce
new file mode 100755
index 000000000..d3f43d439
--- /dev/null
+++ b/1226/CH17/EX17.7/EX17_7.sce
@@ -0,0 +1,13 @@
+clc;funcprot(0);//EXAMPLE 17.7
+// Initialisation of Variables
+N=2000;...........................//Engine rpm
+k=0.5;..............................//Four stroke engine
+Disp=0.025;........................//Engine displacement in m^3
+Pmb=6;..............................//Brake mean effective pressure in bar
+mf=0.018;............................//Fuel consumption in kg/s
+Cf=42000;............................//Calorific value of fuel in kJ/kg
+//Calcuations
+BP=(Pmb*Disp*N*k*10)/(6);................//Brake power in kW
+etaBT=BP/(mf*Cf);.................//Brake thermal efficiency
+disp(BP,"The Brake power (in kW):")
+disp(etaBT*100,"Brake thermal efficiency (in %):")