//Section-14,Example-3,Page no.-PC.81 //To calulate solubility in the given conditions. clc; K_sp=1.6*10^-10 S=sqrt(K_sp) disp(S,'Solubility of silver chloride in water(mol/L)') S_bar=(K_sp/0.10) disp(S_bar,'Solubility of silver chloride in presence of 0.1M NaCl(mol/L)') //S_bar approximated as 2*10^-9