summaryrefslogtreecommitdiff
path: root/1019/CH5/EX5.3/Example_5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1019/CH5/EX5.3/Example_5_3.sce')
-rw-r--r--1019/CH5/EX5.3/Example_5_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1019/CH5/EX5.3/Example_5_3.sce b/1019/CH5/EX5.3/Example_5_3.sce
new file mode 100644
index 000000000..d1d639158
--- /dev/null
+++ b/1019/CH5/EX5.3/Example_5_3.sce
@@ -0,0 +1,19 @@
+//Example 5.3
+clear;
+clc;
+
+//Given
+n=2;//number of electrons transferred
+E=1.01463;//cell potential in V
+F=96500;//Farady charge in C
+T=298;//temperature in K
+p=-5*(10^(-5));//p=(delE/delT)p in V K^-1
+
+//To determine the free energy change delG
+delG=-n*F*E;//the free energy change in J
+mprintf('delG for Westron Cell = %f J',delG);
+delS=n*F*(p);//entropy change in J mol^-1
+mprintf('\n delS for Westron Cell = %f J K^-1',delS);
+delH=delG+(T*delS);//enthalpy change in J
+mprintf('\n delH for Westron Cell = %f J',delH);
+//end \ No newline at end of file