summaryrefslogtreecommitdiff
path: root/2465/CH10/EX10.11/Example_11.sce
blob: 3577f29b4d4e85e652879094a784a1e09253a4e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Chapter-10,Example 11,Page 255
clc();
close();

E_cell = 0.123

E_calomel = 0.2415

E_Q = 0.6990

//E_Q/H2Q = E_Q - 0.0592 *pH
//E_cell= E_Q/H2Q - E_calomel

pH = (E_cell + E_calomel - E_Q)/(-0.0592)

printf('the pH  of solution is pH = %.2f',pH)