Calculation of Concentrations and Equilibrium Constants