summaryrefslogtreecommitdiff
path: root/884/CH19/EX19.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /884/CH19/EX19.5
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 '884/CH19/EX19.5')
-rwxr-xr-x884/CH19/EX19.5/Example19_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/884/CH19/EX19.5/Example19_5.sce b/884/CH19/EX19.5/Example19_5.sce
new file mode 100755
index 000000000..3843ec075
--- /dev/null
+++ b/884/CH19/EX19.5/Example19_5.sce
@@ -0,0 +1,20 @@
+//computation of standard free energy change for a reaction
+
+clear;
+clc;
+
+printf("\t Example 19.5\n");
+
+n=6;
+F=96500;//faraday constant, J/V mol
+
+E0cathode=-2.87;//standard electrode potential of cathode(Ca2+/Ca), V
+E0anode=1.5;//standard electrode potential of anode(Au3+/Au), V
+
+E0cell=E0cathode-E0anode;//standard emf of the cell, V
+
+deltaG0=-n*F*E0cell;//standard free energy change for the reaction, kJ/mol
+
+printf("\t the standard free energy change for the reaction is : %4.2f*10^3 kJ/mol \n",deltaG0*10^-6);
+
+//End