Question: output cosmetics (collect, etc.)

Hi there,

I got an output

-3*w*beta^2+12*w-16*beta+4+3*beta^2

and would like to bring it in the form

3*beta^2*(1-w)-16*beta+4*(1+3*w).

How do I do that? :)

In fact I don't even manage to collect the factor of 3*beta^2 as follows

collect(-3*w*beta^2+3*beta^2,3*beta^2)

, since this gives an error. I can collect beta^2, however not 3*beta^2.

 

Another intresting thing I found out: Sometimes in 2D Math, Maple doesn't recognize that it could cancel a factor in a rational expression. However when I enter the "divided by" with a slash "/"  (typed as [\][/] in 2D Math), Maple recognizes it and cancels the factor in numerator and denominator.^

Please Wait...