#incomplete
You can use calculus to find the centroid of a shape.
First find the centroid first find the moment of the shape in question.
https://tutorial.math.lamar.edu/classes/calcii/centerofmass.aspx