diff options
Diffstat (limited to '1226/CH17/EX17.20/EX17_20.sce')
-rwxr-xr-x | 1226/CH17/EX17.20/EX17_20.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1226/CH17/EX17.20/EX17_20.sce b/1226/CH17/EX17.20/EX17_20.sce new file mode 100755 index 000000000..2513a101e --- /dev/null +++ b/1226/CH17/EX17.20/EX17_20.sce @@ -0,0 +1,15 @@ +clc;funcprot(0);//EXAMPLE 17.20
+// Initialisation of Variables
+n=6;.......................//No of cylinders
+Vs=1.75*10^(-3);..............//Stroke volume in m^3
+IP=26.3;.....................//Indicated power in kW
+Ne=504;.......................//Expected Engine rpm
+Pmi=6;........................//Mean effective pressure in bar
+k=0.5;.........................//Four stroke engine
+//Calculations
+Na=floor((IP*6)/(n*Pmi*Vs*k*10));.......................//Actual Engine rpm
+af=(Na*n)/2;.......................//Actual no of fires in min
+ef=(Ne*n)/2;.......................//Expected no of fires in min
+Nm=ef-af;........................//No of misfires/min
+nm=Nm/n;....................//Average no of times each cylinder misfires in one min
+disp(nm,"Average no of times each cylinder misfires in one min:")
|