summaryrefslogtreecommitdiff
path: root/3685/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH5/EX5.6/Ex5_6.sce')
-rw-r--r--3685/CH5/EX5.6/Ex5_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3685/CH5/EX5.6/Ex5_6.sce b/3685/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..a9a9dee63
--- /dev/null
+++ b/3685/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,17 @@
+clc
+ha = 260 // Enthalpy of air in kJ/kg
+hg = 912 // Enthalpy of gas in kJ/kg
+Va = 270 // Velocity of air in m/s
+wf = 0.0190 // mass of fuel in Kg
+wa = 1 // mass of air in Kg
+Ef = 44500 // Chemical energy of fuel in kJ/kg
+Q = 21 // Heat loss from the engine in kJ/kg
+
+printf("\n Example 5.6")
+Eg = 0.05*wf*Ef/(1+wf) // As 5% of chemical energy is not released in reaction
+wg = wa+wf // mass of flue gas
+Vg = sqrt(2000*(((ha+(Va^2*0.001)/2+(wf*Ef)-Q)/(1+wf))-hg-Eg))
+
+printf("\n Velocity of exhaust gas is %d m/s",Vg)
+//Answer given in textbook is wrong
+