equation from roots



is there a function to call to get for example x^2-3*x-10=0 ( or (x-5)*(x+2)=0) by giving roots -2 and 5 ?