Proof of Rolle's Theorem:
"From the extreme value theorem, the function attains its extreme values on [a,b]. If it attains them both at a and b, then the function is constant, and so has zero derivative everywhere. If it attains either of them at an interior point, then by the extreme value...