Ionic Equilibrium: Solubility and pH Calculations