The bar has a cross-sectional area $A$ and is subjected to the axial load $P .$ Determine the average normal and average shear stresses acting over the shaded section, which is oriented at $\theta$ from the horizontal. Plot the variation of these stresses as a function of $\theta\left(0 \leq \theta \leq 90^{\circ}\right)$