Question: Transform cos^k(x)'s to cos(kx)'s

I have a sum in powers of  cosines : a0 + a1 cos(x) + a2 cos^2(x) + a3 cos^3(x) + ... + ak cos^k(x) . I want to transform it into a sum of the form : b0 + b1 cos(x) + b2 cos(2x)+  ... bk cos(kx). How can I do this in Maple?

Please Wait...