The bar has a cross-sectional area a and is subjected to the axial load p

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 θ from the horizontal.
Plot the variation of these stresses as a function of θ(0≤θ≤90∘).