Calculating the pH of a weak acid (Part 1)