thanks Nishant sir.
for first question...........
(1)\int_{0}^{\pi }{|\sqrt{2}sinx+2cosx|dx}=
(2) If \int_{0}^{1}(ax+b)/(x^{2}+3x+2)^{2}dx = 5/2 then find value of a and b
\\\int_{0}^{1}\frac{(ax+b)}{(x^2+3x+2)^2}dx=5/2 \\\int_{0}^{1}\frac{(ax+a+b-a)}{(x^2+3x+2)^2}dx=5/2 \\\int_{0}^{1}\frac{(ax+a)}{(x^2+3x+2)^2}dx+\int_0^1\frac{(b-a)}{(x^2+3x+2)^2}dx=5/2 \\\int_{0}^{1}\frac{(ax+a)}{(x+1)^2(x+2)^2}dx+\int_0^1\frac{(b-a)}{(x^2+3x+2)^2}dx=5/2 \\\int_{0}^{1}\frac{(a)}{(x+1)(x+2)^2}dx+\int_0^1\frac{(b-a)}{(x^2+3x+2)^2}dx=5/2
Now try to solve
for the first one try this "simpler" integral instead..
\int_{0}^{\pi }{|a sinx+b cosx|dx}