diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH15/EX15.19/Ex15_19.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3831/CH15/EX15.19/Ex15_19.sce')
-rw-r--r-- | 3831/CH15/EX15.19/Ex15_19.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3831/CH15/EX15.19/Ex15_19.sce b/3831/CH15/EX15.19/Ex15_19.sce new file mode 100644 index 000000000..4a8fd672b --- /dev/null +++ b/3831/CH15/EX15.19/Ex15_19.sce @@ -0,0 +1,15 @@ +// Example 15_19
+clc;funcprot(0);
+// Given data
+T=25;// °C
+p=0.1;// MPa
+
+// Calculation
+n_H2=1;// The stoichiometric coefficient of the reaction
+n_O2=0.5;// The stoichiometric coefficient of the reaction
+n_H2O=1;// The stoichiometric coefficient of the reaction
+g_f_H2O=-237.178;// MJ/kgmole
+// [(abar_f)_i]_chemical=gbar0_i+RT ln[1].
+abar_H2O=g_f_H2O;// MJ/kgmole
+adot_fc=0+0-[(n_H2O/n_H2)*abar_H2O];// The net molar specific flow availability in MJ/kgmoleH2
+printf("\nThe net molar specific flow availability of the hydrogen–oxygen fuel cell,(a_flow chemical)_net=%3.3f MJ/kgmoleH2",adot_fc);
|