Solution Preparation and pH Calculation