The uniform bar, having a cross-sectional area of $A$ and mass per unit length of $m$, is pinned at its center. If it is rotating in the horizontal plane at a constant angular rate of $\omega$, determine the average normal stress in the bar as a function of $x$