My question about cos5x was about trig identities, not about how it is integrated, but I realize now it was kind of a stupid question, and they just used a power reduction identity for cos5x.
I've been trying to create a program that takes a user supplied indefinite integral and integrates it using the methods I have been learning in my calculus class; substitution, integration by parts, trig substitution, partial fractions, elementary anti-derivatives, etc. I've been trying to use...