Referring to the Mean Value Theorem and Rolle's Theorem, how can I tell if f is continuous on the interval [a,b] and differentiable on (a,b).