summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.22
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /944/CH5/EX5.22
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '944/CH5/EX5.22')
-rwxr-xr-x944/CH5/EX5.22/example5_22_TACC.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/944/CH5/EX5.22/example5_22_TACC.sce b/944/CH5/EX5.22/example5_22_TACC.sce
new file mode 100755
index 000000000..b214f92b4
--- /dev/null
+++ b/944/CH5/EX5.22/example5_22_TACC.sce
@@ -0,0 +1,19 @@
+//example 5.22
+
+clear;
+clc;
+
+disp("C6H12O6(s)+6O2(g)-->6CO2(g)+6H2O(l)");
+//Given:
+mass=25;//mass of glucose for combustion under standard condition[gm]
+T=298;//temperature[K]
+Gf1=-910;//Standard Gibbs free energy of formation for C6H12O6[KJ/mol]
+Gf2=-394.4;//Standard Gibbs free energy of formation for CO2(g)[KJ/mol]
+Gf3=-237.13;//Standard Gibbs free energy of formation for H2O(l)[KJ/mol]
+mol.wt=180;//molecular weight of glucose[gm/mol]
+
+//To find the maximum energy that can be extracted as non-expansion work is equal to the change in free energy of the system
+G=6*Gf2+6*Gf3-Gf1
+n=mass/mol.wt;//no. of moles
+Gactual=G*n;//Gibbs free energy for the combustion of 0.139mol of glucose
+printf("The energy that can be extracted as non-expansion work is %f KJ",-Gactual);