summaryrefslogtreecommitdiff
path: root/1427/CH5/EX5.24/5_24.sce
blob: 0796edd5864557e4f028782b8b894c32a70c8403 (plain)
1
2
3
4
5
6
7
8
//ques-5.24
//Calculating percentage ionization of acetic acid
clc
Ka=1.74*10^-5;
M=0.1;//molarity of acetic acid
x=sqrt(Ka*M);//content of acetate ion
a=(x/M)*100;//percentage ionization
printf("Percentage ionization of acetic acid is %.1f.",a);