summaryrefslogtreecommitdiff
path: root/1427/CH6/EX6.4/6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH6/EX6.4/6_4.sce')
-rw-r--r--1427/CH6/EX6.4/6_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH6/EX6.4/6_4.sce b/1427/CH6/EX6.4/6_4.sce
new file mode 100644
index 000000000..ce44d837d
--- /dev/null
+++ b/1427/CH6/EX6.4/6_4.sce
@@ -0,0 +1,9 @@
+//ques-6.4
+//Calculating emf of a daniel cell
+clc
+Es=1.1;//standard potential of cell (in V)
+C1=0.001;//concentration of Zn(2+) (in M)
+C2=0.1;//concentration of Cu(2+) (in M)
+n=2;//number of electrons
+E=Es+(0.0592/n)*log10(C2/C1);
+printf("The emf of the given daniel cell is %.4f V.",E);