Example 29 Prove that cos^2 x + cos^2 (x + π/3) + cos^2 ( x – π/3) = 3/2