summaryrefslogtreecommitdiff
path: root/1427/CH5/EX5.7/5_7.sce
blob: 5ebcf7779fa61b889c5c14d2c6bbb84eb3998d0e (plain)
1
2
3
4
5
6
7
8
9
10
//ques-5.7
//Calculating concentration of acetate ion and degree of ionization
clc
m=3;//weight of acetic acid added (in g)
Ka=0.000018;//for acetic acid
N=m/60;//normality of acetic acid
//Ka = x^2/N
x=sqrt(N*Ka);//content of acetate ion
deg=(x/N);//degree of ionization
printf("The concentration of acetate ion is %.6f mol/L and degree of ionization is %.3f.",x,deg);