Check your calculation from step 2 to step 3, since by my reckoning

For the final step Wikipedia is certainly your friend:

List of trigonometric identities - Wikipedia, the free encyclopedia

You can use the half angle, double angle and triple angle identities to make the last two integrations in step 4 manageable.