Let f:[0,∞)→[0,3] be a function defined by
f(x)={max{sint:0≤t≤x},2+cosx,0≤x≤πx>π
Then which of the following is true?
(a) f is continuous everywhere but not differentiable exactly at one point in (0,∞)
(b) f is differentiable everywhere in (0,∞)
(c) f is not continuous exactly at two points in (0,∞)
(d) f is continuous everywhere but not differentiable exactly at two points in (0,∞)