Given the function f(x)=x3+kx−2f(x) = x^3 + kx - 2f(x)=x3+kx−2, find the value of kkk such that f(2)=10f(2) = 10f(2)=10.
k=1k = 1k=1
k=2k = 2k=2
k=3k = 3k=3
k=4k = 4k=4