Methods for solving systems of equations