Evaluate:



Let

Putting t=sin x


dt=cos x dx



Now putting,


A(2+t)+B(1+t)=2t


Now put t+2=0


Therefore, t=-2


A(0)+B(1-2)=-4


B=4


Now put t+1=0


Therefore, t=-1


A(2-)+B(0)=-2


A=-2


Now from equation (1), we get,





So,



1