If a remainder of 4 is obtained when x3+2x2−x−k is divided by x−2, find the value of k.
The polynomial p(x) = kx3 +9x2 +4x-8 when divided by [x+3] leaves a remainder 10(1-k). find the value of k.