Concept:For equal roots, the discriminant of a quadratic equation must be zero.Explanation:Compare x2−kx+9=0 with ax2+bx+c=0.Here, a=1, b=−k, and c=9.For equal roots, b2−4ac=0.Substitute the values: (−k)2−4(1)(9)=0.Simplify: k2−36=0.So, k2=36.Taking the square root gives k=±6.Answer:The values of k are ±6, which is option D.