summaryrefslogtreecommitdiff
path: root/1019/CH5/EX5.2/Example_5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1019/CH5/EX5.2/Example_5_2.sce')
-rw-r--r--1019/CH5/EX5.2/Example_5_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1019/CH5/EX5.2/Example_5_2.sce b/1019/CH5/EX5.2/Example_5_2.sce
new file mode 100644
index 000000000..f13075a95
--- /dev/null
+++ b/1019/CH5/EX5.2/Example_5_2.sce
@@ -0,0 +1,13 @@
+//Example 5.2
+clear;
+clc;
+
+//Given
+n=2;//number of electrons transferred
+E=1.1;//cell potential in volt
+F=96500;//Farady charge in C
+
+//To determine the free energy change delG
+delG=-n*F*E;//the free energy change in J
+mprintf('Free energy change for Daniell Cell = %f J',delG);
+//end \ No newline at end of file