Lời giải:
Ta có:
\(I=\int\frac{2\sin x-5\cos x}{\sin x+\cos x}dx=\int \frac{-\frac{3}{2}(\sin x+\cos x)-\frac{7}{2}(\cos x-\sin x)}{\sin x+\cos x}dx\)
\(\Leftrightarrow I=\frac{-3}{2}\int dx-\frac{7}{2}\int \frac{d(\sin x+\cos x)}{\sin x+\cos x}=-\frac{3}{2}x-\frac{7}{2}\ln |\sin x+\cos x|+c\)