22. Compute the integral $\int\left(5 \cos x+2 e^{x}\right) d x$.
Solution. $\quad \int\left(5 \cos x+2 e^{x}\right) d x=5 \int \cos x d x+2 \int e^{x} d x=5 \sin x+C_{1}+$ $+2 e^{x}+C_{2}=5 \sin x+2 e^{x}+C$.

Remark. When integrating the algebraic sum of functions, it is customary to write only one arbitrary constant, since the algebraic sum of arbitrary constants is a constant.