Establish and analyse an identity involving a sum of sine and cosine.
(a) Show that cosx=sin(2π−x).
(b) Using the result of part (a), prove that sinx+cosx=2sin(x+4π) for all real x.
(c) Hence determine the maximum value of sinx+cosx and the set of all x∈[0,2π) for which this maximum occurs.