Calculations of pH in Buffer Solutions