#int x*cos^2 x d x=?#
#cos 2x=cos^2x-sin^2x" ; so "sin^2 x=1-cos^2x#
#cos2x=cos^2 x-(1-cos^2 x)#
#cos2x=cos^2 x-1+cos^2 x=2cos^2 x-1#
#cos2x+1=2cos^2 x#
#cos^2 x=1/2(cos2x+1)#
#int x* cos^2 x d x=int x*1/2(cos2x+1) d x#
#int x*cos^2 x d x=1/2 int x*(cos2x+1) d x#
#int x*cos^2 x d x=1/2[color(red)(int x*cos2x* d x)+color(green)(int x* d x)]#
#color(red)(int x*cos2x*d x)=?" ; "#
#x=u" ; "d x=d u#
#cos 2x d x=d v" ; " v=1/2 sin 2x#
#color(red)(int x*cos2 x d x=u*v-int v*d u)#
#color(red)(int x*cos2 x d x=1/2*x*sin 2x-int 1/2*sin2x d x#
#color(red)(int x*cos2 x d x=1/2x*sin 2x+1/2*1/2*cos2x#
#color(red)(int x*cos2 x d x=1/2 x*sin2x+1/4cos2x#
#color(green)(int x*d x=?)" ; "#
#color(green)(int x*d x=1/2 x^2)#
#int x*cos^2 x d x=1/2[1/2x*sin2x+1/4cos2x+1/2x^2]#
#int x*cos^2 x d x=1/4x*sin2x+1/8*cos2x+1/4*x^2#
#int x*cos^2 x d x=(2xsin2x+2x^2+cos2x)/8+C#
#int x*cos^2 x d x=(2x(sin2x+x)+cos2x)/8+C#