Struggling with this question: Find the force due to hydrostatic pressure on the side of a trough of length $L$ if the end is a semicircle of radius $R$ and it is filled to the top with a fluid of density $\rho$.
I worked out the width to $2\times\sqrt{R^2 - x^2}$ but do not know where to go from here