\(\int sin^2\dfrac{x}{2}dx=\int\left(\dfrac{1}{2}-\dfrac{1}{2}cosx\right)dx=\dfrac{1}{2}x-\dfrac{1}{2}sinx+C\)
\(\int cos^23xdx=\int\left(\dfrac{1}{2}+\dfrac{1}{2}cos6x\right)dx=\dfrac{1}{2}x+\dfrac{1}{12}sin6x+C\)
\(\int4cos^2\dfrac{x}{2}dx=\int\left(2+2cosx\right)dx=2x+2sinx+C\)