f: a*x^2 + b*x +c;

diff(f,x,1);

integrate(f, x);

sol: solve([f=0],[x]);

sol;

g: subst([a=3, b=4, c=2], f);

wxplot2d([g], [x,-5,5])$