Ionic equilibrium weak acid and weak base