TCS
Company
If f(x) = (1+x+x2+x3+.......x2012)^2−x^2012
g(x) = 1+x+x2+x3+.......x^2011
Then what is the remainder when f(x) is divided by g(x)
Read Solution (Total 2)
-
- put x=0 1/1 so remainder is 0.
- 11 years agoHelpfull: Yes(24) No(3)
- put x=1
f(1)=(2012)^2-1
g(1)=2011
f(1)/g(1)=[(2012)^2-1]/[2011]
=[(2012+1)*(2012-1)]/[2011]
=[(2013)*(2011)]/[2011]
=2013
hence reminder is 0 - 11 years agoHelpfull: Yes(2) No(10)
TCS Other Question