function for regrouping/factoring the following expression



On 7/25/2010 2:10 PM, Rupert Swarbrick wrote:
>
> (note that coeff doesn't do anything_that_  clever, so if your power
> of x isn't explicit, it won't work:
>
> (%i7) coeff( (x+2)500, x, 3);
> (%o7)                                  0
>    

ratcoef is clever enough.
Also look at bothcoef.

RJF