The number of points at which the function f(x)={[cosπx],0≤x≤1|x−1|[x−2],1<x≤2 is discontinuous, is ([.] denotes the greatest integral function )
If [.] denotes greatest integer function, then at which of the following points f(x)=[x]sin(π2([x]+x)) is discontinuous?