I tried to solve the following question by integration by parts but it gets iterative and no solution is found. $$\int e^{-x}(\cos wx + w\sin wx)dx$$ where $w$ is constant.
Is there any method by which this question could be solved? I don't want the whole solution but an idea how to deal with such type of questions.