summaryrefslogtreecommitdiff
path: root/3685/CH16/EX16.8/Ex16_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH16/EX16.8/Ex16_8.sce')
-rw-r--r--3685/CH16/EX16.8/Ex16_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3685/CH16/EX16.8/Ex16_8.sce b/3685/CH16/EX16.8/Ex16_8.sce
new file mode 100644
index 000000000..1781aa4c9
--- /dev/null
+++ b/3685/CH16/EX16.8/Ex16_8.sce
@@ -0,0 +1,12 @@
+clc
+hf_co2 = -393522 // Enthalpy of reaction in kJ/kg mol
+hf_h20 = -285838// Enthalpy of reaction in kJ/kg mol
+hf_ch4 = -74874// Enthalpy of reaction in kJ/kg mol
+D = hf_co2 + (2*hf_h20) //Heat transfer
+QCV = D-hf_ch4 // Q_cv
+
+printf("\n Example 16.8\n")
+printf("\n Heat transfer per kg mol of fuel is %d kJ",D)
+printf("\n Q_cv is %d kJ",QCV)
+//The answers vary due to round off error
+