Determine whether Rolle's theorem can be applied to f on the interval and, if so, find all values of c in the open interval (a,b) such that .

Here's what I've done:

is everywhere cont./diff. and is everywhere cont. on and everywhere diff. on , therefore is everywhere cont./diff. on . Furthermore, , so Rolle's theorem applies.

Could someone please verify my result?