summaryrefslogtreecommitdiff
path: root/3050/CH6/EX6.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3050/CH6/EX6.9
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 '3050/CH6/EX6.9')
-rwxr-xr-x3050/CH6/EX6.9/Ex6_9.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3050/CH6/EX6.9/Ex6_9.sce b/3050/CH6/EX6.9/Ex6_9.sce
new file mode 100755
index 000000000..fb2d26b64
--- /dev/null
+++ b/3050/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,17 @@
+//calculating deltaG and Kc
+//Example 6.9
+clc
+clear
+Ecell=0.89//in V
+n=6
+F=96500// in 1/mol
+deltaG=-n*F*Ecell//in C.V or J
+//Kc related to deltaG
+R=8.314//in J/molk
+T=298//in K
+Kc1=10^(-deltaG/(2.303*R*T))
+//Kc related to Ecell
+Kc2=10^((n*F*Ecell)/(2.303*R*T))
+printf('Thus (i)deltaG = %e',deltaG)
+printf('\n(ii)Kc in relation with deltaG = %e',Kc1)
+printf('\n(iii)Kc in relation with Ecell = %e',Kc2)