the function f(x)= x^3-3x^2+kx+2 has a factor (x+2). find the value of k
If f(x)= x^3-3x^2+kx+2 has a factor (x+2). then f(-2)=0
Can you take it from there?