blob: a86f4adb84f21d38e5cda3c363b48611a9ec3bf4 (
plain)
1
2
3
4
5
6
7
8
|
//calculating pH
//Example 6.2
clc
clear
//for quinhydrone electrode
Ecell=0.284//Emf of cell in V
pH=(0.6996-0.2422-Ecell)/0.0591//pH of the solution
printf('Thus the pH of the solution = %2.3f V',pH)
|