summaryrefslogtreecommitdiff
path: root/3689/CH11/EX11.2/11_2.sce
blob: be421cdc5f66904e130a775409e3a8e5b0167aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
////Variable Declaration
E0r1 = -0.877       //Std Electrod potential for Rx2 : Al3+ + 3e- ------> Al (s)                   
E0r2 = -1.660       //Std Electrod potential for Rx2 : Al3+ + 3e- ------> Al (s)
E0r3 = +0.071       //Std Electrod potential for Rx3 : AgBr (s) + e- ------> Ag(s) +Br- (aq.)

//Calculations
//3Fe(OH)2 (s)+ 2Al (s)  <---------> 3Fe (s)  + 6(OH-) + 2Al3+
E0a = 3*E0r1 + (-2)*E0r2
//Fe (s) + 2OH- +   2AgBr (s) -------> Fe(OH)2 (s)  + 2Ag(s) +  2Br- (aq.)
E0b = -E0r1 + (2)*E0r3

//Results
printf("\n %5.3f %5.3f",E0a,E0b)