Solution of algebraic equations