ycentroid
The y-centroid, often written as ȳ, is the vertical component of the centroid of a planar region or object. The centroid is the point where the area can be considered balanced, or, for uniform density, the center of mass.
For a region R with area A, the y-centroid is defined by ȳ = (1/A) ∫∫_R y dA.
For polygons specified by vertex coordinates (x_i, y_i) with i from 0 to n−1 (and x_n = x_0,
For simple shapes, ȳ has intuitive values: a rectangle of height h with its base on y
Applications abound in engineering and science, including locating centers of gravity, analyzing bending in beams, and