The complete set of values of k, for which the quadratic equation x2−kx+k+2=0 has equal roots, consists of
2+√12
2±√12
2−√12
−2−√2
Since the equation has real roots.⇒D=0⇒b2−4ac=0⇒k24(1)(k+2)=0⇒k2−4k−8=0⇒k=4±√16−4(1)(−8)2(1)⇒k=4±2√122⇒k=2±√12