If [x] represents the greatest integer function and f(x)=x–[x]–cosx then f′(π2)=
If f(x)={x,when 0≤ x ≥ 1 2−x,2-x when 1 ≤ x ≥ 2 then limx→1 f(x) =