summaryrefslogtreecommitdiff
path: root/1427/CH6/EX6.3/6_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH6/EX6.3/6_3.sce')
-rw-r--r--1427/CH6/EX6.3/6_3.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH6/EX6.3/6_3.sce b/1427/CH6/EX6.3/6_3.sce
new file mode 100644
index 000000000..0ca073cc8
--- /dev/null
+++ b/1427/CH6/EX6.3/6_3.sce
@@ -0,0 +1,7 @@
+//ques-6.3
+//Calculating emf of a concentration cell
+clc
+C1=0.01; C2=0.1;//concentration of Zn(2+) ions (in M)
+n=2;//number of electrons
+E=(0.0592/n)*log10(C2/C1);
+printf("The emf of the given concentration cell is %.4f V.",E);