Question: Error in coefficient

Hello,

I have a problem, please help me to solve it.

I am trying to extract coefficients of some polynomial expressions but I receive Error.

For example:

>with(Physics):

>Setup(mathematicalnotation = true)

>S := a*(x^2)+b*x+c*(1/(x-h)):

>Coefficients(S, x, 1)

>Error, (in Physics:-Coefficients) unable to compute coeff.

**** Note that if instead of the term (1/(x-h)) we have (1/x), then we get the true result. The error occurs only when we have some extra things in the denominator namely "-h".

Regards

Please Wait...