grouping the variables in a certain way



Richard Fateman wrote:

> ratsubst(q,x/D^2,a);
> factor(%);
> ratsubst(x/D^2,q,%);
>  
> Does it. Gives
> -(x/D-1)*(x/D+1)/(3*x/D+1)^4
> 
> 

Doesnot seem to work. I am getting

(%i4) ratsubst(x/D^2,q,%);
                                   4    2  2
                                  D  - x  D
(%o4)             ------------------------------------------
                   4         3       2  2        3         4
                  D  + 12 x D  + 54 x  D  + 108 x  D + 81 x

Using Debian Stable (Etch), maxima 5.10.0 installed from debian packages.
Does the behaviour change in later versions of maxima?

thanks
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/