If the slope of the tangent to the curve y=excosx is minimum at x=a,0≤a≤2π, then the value of a is equal to