(1)
In a rectangular coordinate plane, if the length of a line segment joining the two points (4,7) and (k, k+4) is 5, find the values of k.
(2)
If the following quadratic equation has real roots and k is a constant, find the range or values of k.
k(2x+1) = 2-k(x^2)