If f(x)=1+cosx+cos2x+⋯∞, then f(x)+f(π2+x)+f(π2−x)+f(π−x) equals
If f(x)=sin[π2]x+sin[−π]2x, where [x] denotes teh greatest integer less than or equal to x, then,