The value of x for sinx+√3cosx≥1 in the interval −π<x≤π is
Prove that f(x)=sinx+√3cosx has maximum value at x=π6.