Let $g _{ i }:\left[\frac{\pi}{8}, \frac{3 \pi}{8}\right] \rightarrow R , i =1,2$ and $f :\left[\frac{\pi}{8}, \frac{3 \pi}{8}\right] \rightarrow R$ be functions such that
$g_{1}(x)=1, g_{2}(x)=|4 x-\pi|$ and $f(x)=\sin ^{2} x$, for all $x \in\left[\frac{\pi}{8}, \frac{3 \pi}{8}\right] $ ,
Define $S_{i}=\int\limits_{\frac{\pi}{8}}^{\frac{3 \pi}{8}} f(x) \cdot g_{i}(x) d x, i=1,2$