Answer:
k = 1
Step-by-step explanation:
Given that,
[tex]f(x) = x^3 +kx + 2[/tex]
If (x+1) is a factor of (x), we need to find the value of k.
Using remainder theorem to find it.
Put (x+1) = 0
x = -1
Put x = -1 in equation below.
[tex]x^3 + kx + 2=0\\\\(-1)^3+k(-1)+2=0\\\\-1-k+2=0\\\\1-k=0\\\\k=1[/tex]
So, the value of k is 1.