#equations with quadratic terms