Question 937195
Do you mean {{{(cos(3x))^7}}} or {{{(cos(x))^21}}}?
Either way, you'll have to use integration by parts multiple times to get the final answer and you'll have a lot of terms. 
Please repost.