diff options
Diffstat (limited to '2090/CH3/EX3.6/Chapter3_Example6.sce')
-rwxr-xr-x | 2090/CH3/EX3.6/Chapter3_Example6.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2090/CH3/EX3.6/Chapter3_Example6.sce b/2090/CH3/EX3.6/Chapter3_Example6.sce new file mode 100755 index 000000000..0a6144c0f --- /dev/null +++ b/2090/CH3/EX3.6/Chapter3_Example6.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Input data
+t=25;//The temperature of both reactants and products in degree centigrade
+p=1;//The pressure of both reactants and products in bar
+
+//Calculations
+h=0;//Enthalpy of all elements at given temp and pressure
+hf1=-103.85;//The enthalpy of the compound C3H8 in the reactants side at given temp and pressure in MJ/kmol
+hf2=-393.52;//The enthalpy of carbondioxide for the given temp and pressure in MJ/kmol
+hf3=-285.8;//The enthalpy of the water for the given temp and pressure in MJ/kmol
+hf4=[3*hf2]+[4*hf3];//Total enthalpy in the products side in MJ/kmol
+Q=hf4-hf1;//The heat transfer per mole of fuel in MJ/kmol fuel
+
+//Output
+printf(' The heat transfer per mole of fuel = %3.2f kJ/mol fuel',Q)
|