summaryrefslogtreecommitdiff
path: root/3689/CH11/EX11.8/11_8.sce
blob: 6b92e1672b0a00414aeb965b2a188f7b813e004a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
////Variable Declaration
E = +1.51               //EMF for reduction of permangnet, V
E01 = -0.7618           //Zn2+  + 2e-  -------->  Zn (s)
E02 = +0.7996           //Ag+  + e-  -------->  Ag (s)
E03 = +1.6920           //Au+  + e-  -------->  Au (s)        

//Calculations
EZn = E - E01
EAg = E - E02
EAu = E - E03

[Er] = ({EZn,EAg,EAu})
//Results
printf("\n Cell potentials for Zn, Ag, Au are %4.2f V, %4.2f V, and %4.2f V",EZn, EAg,EAu)
printf("\n Zn has positive cell potential of %4.3f V and Can be oxidized bypermangnate ion",EZn)
printf("\n Ag has positive cell potential of %4.3f V and Can be oxidized bypermangnate ion",EAg)
printf("\n Au has positive cell potential of %4.3f V and Can be oxidized bypermangnate ion",EAu)