Supressing factoring out common factors is output



---- ayotunde oyinsan wrote:


>How do I force the output from any function to
>look like
>
>  6x^2 + 10x + 12
>
>instead of
>
> 2 (3x^2 + 5x + 6) ?
>

Maybe you would like to use the 'expand' function

(%i9) expand( 2 * (3*x^2 + 5*x + 6));
(%o9) 6*x^2+10*x+12

For documentation, use 'describe'

(%i10) describe("expand");

You'll get a list of choices --- 'expand' is item 2.

Barton