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,π]