summaryrefslogtreecommitdiff
path: root/3876/CH10/EX10.6/Ex10_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH10/EX10.6/Ex10_6.sce')
-rw-r--r--3876/CH10/EX10.6/Ex10_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3876/CH10/EX10.6/Ex10_6.sce b/3876/CH10/EX10.6/Ex10_6.sce
new file mode 100644
index 000000000..d384c46f1
--- /dev/null
+++ b/3876/CH10/EX10.6/Ex10_6.sce
@@ -0,0 +1,20 @@
+//Chapter 10 Electmotive Force
+
+clc;
+clear;
+
+//Initialisation of Variables
+E1= 0.763 //v
+c= 0.1 //mol/lit
+c1= 0.01 //mol/lit
+R= 8.31 //J/mol K
+T= 25 //C
+F= 96500 //coloums
+c2= 1 //molar
+c3= 1 //molar
+
+//CALCULATIONS
+E= E1-(log10(c*c2/(c1**2*c3))*R*(273+T)*2.3/(2*F))
+
+//RESULTS
+mprintf("Potential of the cell = %.3f v",E)