Solving quadratic, cubic, or higher-order equations in the study of chemical equilibria is often necessary. For example in some analytical chemistry problems this kind of equation needs to be solved to find out information such as solubility, hydronium ion concentration, and so on. Algebraic methods may be applied to solve these equations, but in some cases, the equations cannot be solved analytically (by algebraic methods) and the only method to obtain the answer is to approximate the solution by iteration methods.