Find the values of k for which the roots are real and equal in each of the following equations.