The equation kx^2 -2x-7=0 has two real and identical roots, find the value of k.

if the roots are identical, then the discriminant is zero. So, we need

4+28k=0
k = -1/7