does the function f(q)=(q(1-q))^1/2 satisfy the hypothesis of the mean value theorem at the interval [-1,5]

The mean value theorem requires that the function be continuous and differentiable in the open interval (a,b).

Hint: check if the function is continuous throughout the interval [-1,5].