The polynomial remainder theorem states that the remainder upon dividing a polynomial
by
is the same as the value of
, so to find
you need to find the remainder upon dividing
You have
..... | 2 ... 14 ... -58
-10 | ... -20 ... 60
--------------------------
..... | 2 ... -6 .... 2
So the quotient and remainder upon dividing is
with a remainder of 2, which means
.
The larger number is (-7+14)/2 = 3.5.
The smaller number is (-7-14)/2 = -10.5.
_____
The two equations a+b=-7, a-b=14 can be solved to get these results. It is genrally convenient to solve them by adding one to the other, or subtracting one from the other.
10 - 2.99 = 7.01 and 7.01 - 1.07 = 5.94 so you will get 5.94 in change