I have a quadratic expression, which I process using the solve function in MAPLE, like so
quadformula := solve(p,x);
This displays the quadratic form of the expression. However, what I would like to do is convert the output of the above operation into a function, with variables a,b,c, so I can evaluate it.
> q := convert(quadformula,'polynom'); > quadroot := unapply(q,a,b,c);
The code above does not produce the right output. How do I accomplish this please?