線上上課都在線 1年以上以前 不妨設f(x)=(x^3-1)q3(x)+a(x^2+x+1)+3x-2 由於f(x)除以x-1餘式7 所以f(1)=7(餘式定理) 代入我們設的定義 3a+1=7 a=2 f(x)=(x^3-1)q3(x)+2(x^2+x+1)+3x-2=(x^2+x+1)[(x-1)q3(x)+2]+3x-2 =>q1(x)=(x-1)q3(x)+2 q3(2)-q1(2)=q3(2)-[q3(2)+2)=-2 留言