I'm currently learning centre of mass (I know it's more physics, but not many subreddits allow pictures).
Please could someone explain the difference between the top formulas and the bottom ones, they are in my text book and seem to accomplish the same thing, except one includes mass per unit area. Which one should I use and when?