diff options
Diffstat (limited to '1808/CH2/EX2.19/Chapter2_Example19.sce')
-rw-r--r-- | 1808/CH2/EX2.19/Chapter2_Example19.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1808/CH2/EX2.19/Chapter2_Example19.sce b/1808/CH2/EX2.19/Chapter2_Example19.sce new file mode 100644 index 000000000..553b942f3 --- /dev/null +++ b/1808/CH2/EX2.19/Chapter2_Example19.sce @@ -0,0 +1,25 @@ +clc
+clear
+//INPUT DATA
+//CH4 + 2 O2 = CO2+2 H2O ;//Chemical equation
+hfco2=-393.52;//enthalpy of CO2 in MJ/kmol of CH4
+hfh2o=-241.83;//enthalpy of H2O in MJ/kmol of CH4
+hfch4=-77.87;//enthalpy of CH4 in MJ/kmol of CH4
+hfo2=0;//enthalpy of O2 in MJ/kmol of CH4
+
+//CALCULATIONS
+
+Qp=hfco2+2*hfh2o-(hfch4+2*hfo2);//Lower heating value in MJ/kmol
+Qp1=-Qp/(21*1-1*4);//Lower heating value in MJ/kg
+dU=Qp1;//lower heating values
+
+//OUTPUT
+printf('np=nr \n')
+printf('Lower heating values are \n Qp %3.1f MJ/kg of CH4 \n du %3.1f MJ/kg of CH4 \n Qp1=dU \n ',Qp1,dU)
+
+
+
+
+
+
+
|