cgergo

10 Reputation

2 Badges

8 years, 335 days

MaplePrimes Activity


These are questions asked by cgergo

I can calculate the quotient and remainder (r1) of a polinom (p1) divided by another (p2).

Unfortunately, I can't figure out how to divide r1 with p2, so that I get negative powers as well.

For example:

p1 = x^2+3

p2 = x+2

(x^2+3):(x+2) = x, and the remainder is: (-2x+3)

-----------

(-2x+3):(x+2) = -2, and the remainder is: (-1)

-----------

(-1):(x+2) = -x^-1, and the remainder is: (2x^-1)

-----------

(2x^-1):(x+2) = 2x^-2

...

As a result I get:

p1/p2 = x + -2 - x^-1 + 2x^-2 and so on...

How can I achieve this?

 

Page 1 of 1