Mechanics

calculate the centroid of the parabola y^2=4ax between the points x=0 and y=b.

You can use the formula for the centroid of spandrel. The area you describe is parabolic spandrel with base b along the y-axis.