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