Question 149758
I think what is wanted is for you to start with the roots and
work backwards to get the equations
Quadratics have at most 2 roots, so start with, for example
{{{x = 4}}}
{{{x = -1}}}
then
{{{x - 4 = 0}}}
{{{x + 1 = 0}}}
To get the equation:
{{{(x - 4)(x + 1)}}}
{{{x^2 - 3x - 4}}} with integers
--------------------
Now for rationals:
{{{x = -1}}}
{{{x = 3.71}}}
{{{x + 1 = 0}}}
{{{x - 3.71 = 0}}}
{{{(x + 1)(x - 3.71)}}}
{{{x^2 - 2.71 - 3.71}}}
---------------------
irrationals:
{{{x = pi}}}
{{{x = sqrt(3)}}}
{{{(x - pi)(x - sqrt(3))}}}
{{{x^2 - (pi + sqrt(3))*x + pi*sqrt(3)}}}