Wyznacz resztę z dzielenia wielomianu w przez wielomian p
w(x)=x⁹+x⁷+x⁵+x³+x
p(x)=x²-1
x⁷+2x⁵+3x³+4x <----wynik
____________
x⁹+x⁷+x⁵+x³+x : (x²-1)
-x⁹+x⁷
_____+
2x⁷+x⁵+x³+x
-2x⁷+2x⁵
___________+
3x⁵+x³+x
-3x⁵+3x³
________+
4x³+x
-4x²+4x
5x <--reszta
(x⁹+x⁷+x⁵+x³+x):(x²-1)=x⁷+2x⁵+3x³+4x
-------
2x⁷+x⁵
-----------
3x⁵+x³
-4x³+4x
5x
q(x)=x⁷+2x⁵+3x³+4x
r(x)=5x
w(x)=p(x)q(x)+r(x)
x⁹+x⁷+x⁵+x³+x=(x⁷+2x⁵+3x³+4x)*(x²-1)+5x
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
x⁷+2x⁵+3x³+4x <----wynik
____________
x⁹+x⁷+x⁵+x³+x : (x²-1)
-x⁹+x⁷
_____+
2x⁷+x⁵+x³+x
-2x⁷+2x⁵
___________+
3x⁵+x³+x
-3x⁵+3x³
________+
4x³+x
-4x²+4x
_____+
5x <--reszta
(x⁹+x⁷+x⁵+x³+x):(x²-1)=x⁷+2x⁵+3x³+4x
-x⁹+x⁷
-------
2x⁷+x⁵
-2x⁷+2x⁵
-----------
3x⁵+x³
-3x⁵+3x³
-----------
4x³+x
-4x³+4x
-----------
5x
w(x)=x⁹+x⁷+x⁵+x³+x
p(x)=x²-1
q(x)=x⁷+2x⁵+3x³+4x
r(x)=5x
w(x)=p(x)q(x)+r(x)
x⁹+x⁷+x⁵+x³+x=(x⁷+2x⁵+3x³+4x)*(x²-1)+5x