\(\int\limits^{\frac{\pi}{2}}_0x.\sin^2xdx=\int\limits^{\frac{\pi}{2}}_0x\left(\frac{1-\cos2x}{2}\right)dx=\frac{1}{2}\left[\int\limits^{\frac{\pi}{2}}_0xdx-\int\limits^{\frac{\pi}{2}}_0x.\cos3xdx\right]\)
\(=\frac{1}{2}\left(\frac{1}{2}x^2|^{\frac{\pi}{2}}_0-\frac{1}{2}\int\limits^{\frac{\pi}{2}}_0x.d\left(\sin2x\right)\right)\)
\(=\frac{1}{2}\left[\frac{\pi^2}{8}-\frac{1}{2}\left(x.\sin2x\right)|^{\frac{\pi}{2}}_0-\int\limits^{\frac{\pi}{2}}_0\sin2xdx\right]\)
\(=\frac{1}{2}\left[\frac{\pi^2}{8}-\frac{1}{2}\left(0+\frac{1}{2}\cos2x|^{\frac{\pi}{2}}_0\right)\right]=\frac{\pi^2+8}{16}\)