Question: How to combine terms with the same power

Hi,

I have a large expression of 10 variables that contains many rational terms. I would like to manipulate it from the form a^2*b^2*c^(-2)*d into for example ((a*b)/c)^2*d. And I want to do this for all terms and combine all variables of power 2.

I know how to do this for arbitrary power a^n/b^n to (a/b)^n but since I have n=2 maple automatically writes (a/b)^2=a^2/b^2 which is what I don't want.

Many thanks 

Please Wait...