Calculation of pH of a Solution