I don't Think integration by parts will work since you end up vetting the integral of e^xsinx at some point.
If you are familiar with demoivres theorem then that Is one way. I'd be surprised if they gave that question in a normal core paper without external help.