If f(x)=⎩⎨⎧ex,2−ex−1,x−e,0≤x≤11<x≤22<x≤3 and g(x)=∫0xf(t)dt, x∈[1,3], then
a. g(x) has local maxima at x=1+loge2 and local minima at x=e
b. f(x) has local maxima at x=1 and local minima at x=2
c. g(x) has no local minima
d. f(x) has no local maxima