Verify Rolle's theorem for the function f(x)=x2+2x−8,xϵ[−4,2]
Check whether the conditions of Rolle's theorem are satisfied by the followingfunction or not:
i. f(x)=(x−1)(x−2)(x−3),x∈[1,3]
ii. f(x)=e−xsinx, x ϵ [0,π]