If f(x)=2[x]+cos([−π]x), where [.] represents greatest integer function, then
If, f(x)=cos[π2]x+cos[−π2]x, where [x] stands for greatest integer function, then