blob: f883f3763eb924c739722bab5391017cc4030ec2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 19.4//
//(a)
mprintf("Inspection of Table 19.2 indicates that zinci is anodic to iron. Therefore zinci will be corroded")
//(b)Again using Table 19.2 the voltage will be
b=(-0.763);//V //Electrode potential versus normal hydrogen at 25 degree C //(From the table)
a=(-0.440);//V ///Electrode potential versus normal hydrogen at 25 degree C
voltage=a-b
mprintf("\nvoltage = %f V",voltage)
|