summaryrefslogtreecommitdiff
path: root/615/CH2/EX2.22/2_22.sce
blob: 511fe4f2d991d9ce0b0e4105ee66ae56f1d461a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//acids and bases//
//example 2.22//
ly=11.92;//equivalent conductvity of 0.02acetic acid solution in mho at 20C//
lih=360;//the equivalent ionic conductance of an infinite dillution of hydrogen ion in mho//
lic=40;//of acetate ion//
li=lih+lic;//of acetic acid//
a=ly/li;//degree of dissociation//
N=0.02;//normality of acetic acid//
V=1/N;
K=(a^2)/V;
Ka=K/10^-6;
printf("Dissociation constant of acetic acid is %f*10^-6",Ka);
W=82;//mol.wt of CH3COONa//
M=8.2//amount of sodium acetate added in g per litre solution//
printf("\nIn the presence of sodium acetate,all the acetate ions are obtained from sodium acetate only");
CH3COO=M/W;
printf("\nCH3COO- ion concentration is %fg.ion/lit",CH3COO);
printf("\nCH3COOH concentration is %fg.mol/lit",N);
H=K*N/CH3COO;
pH=-log10(K*N/CH3COO);
printf("\npH of the solution is %f",pH);