What is the formula in finding the center of gravity of an object?
Looked it up on Wikipedia. Most people use the term center of mass rather than center of gravity. If you are indeed referring to the center of mass, than the equations on wikipedia will help. Most commonly, the equation used is cms = (1/M) Integrate[r dm] M = Total Mass r = Distance Vector dm = infinitesimal mass, the part you integrate over To make the integral over distance, if you know the density of the object, you can say that dm = p dV, where p is the density and dV is a infinitesimal volume element. We know the equations for most volume elements in terms of r and dr, so you could final do a simple integral over r. Hope this helps.