Evaluate the following integrals:

∫ ex (cot x + log sin x) dx

Let



Integrating by parts






9