For what value of k does the equation x^2-5x+(k+6)=0 have equal roots?

Answer:
k = 0.25.
Step-by-step explanation:
For the equation to have equal roots the discriminant b^2 - 4ac = 0.
So for this equation , a = 1, b = -5 and c = (k + 6) so:
(-5)^2 - 4*1*(k + 6) = 0
25 - 4k - 24 = 0
25 - 24 = 4k
4k = 1
k = 1/4
k = 0.25.