function for regrouping/factoring the following expression



thanks,
It works perfectly.
J.

2010/7/26 R Fateman <fateman at cs.berkeley.edu>

>  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
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>