generate quadratic equation string