More specifically, can you send me the steps integrating the function using complex integrals
i.e. cos(2x) = [e^(2ix) + e^(-2ix)]/2
i.e. sin(2x)= [e^(2ix) - e^(-2ix)]/2i
Try replacing “i” with an undefined variable and then integrate. You can probably have Wolfram|Alpha do these integrals and give you the step by step instructions on how to solve them. After that, substitute the “i” back in the equation and do some algebraic simplification.
Doing integrals with complex numbers is not significantly more complex than doing them with real values.