Question

When do we use Ka and Kb

How do we know wether to use Ka which is sometimes given in a pH problem or convert it to Kb?