a newbe question ---- divide inconsistancies between 591 and 592



Robert Dodier wrote:

>Hi Doug,
>
>  
>
>>Using the code given latter,  I get different results from 5.9.1 and 5.9.2.
>>The difference is in the results of the divide function. In 5.9.1 the
>>results are ordered in powers of  "s" which is what you would expect but
>>5.9.2 does not do this. How do I force 5.9.2 to order the polynomial in
>>power of "s"?
>>    
>>
>
>Without investigating I'll guess that the ordering of terms is different
>between 5.9.1 and 5.9.2 due to code changes in 5.9.2 to enable
>case sensitivity.
>
>My advice is to collect terms for powers of s or whatever using
>functions, instead using part (expr, n) which relies on a specific
>ordering of the results.
>
>Try facsum (expr, 1, s, s^2) followed by coeff (%, s^2) to collect
>the s^2 terms. See also isolate and disolate.
>
>Sorry I can't be more helpful,
>Robert Dodier
>
>  
>
This looks like it is what I need.
I will try it soon.
Thanks.
Sorry for the double reply.
Doug