-
I take the total mass and divide it by L;
-
that's the mass per unit length.
-
And this fellow has a width dx,
-
so the mass of this little sliver is M / L · dx.
-
Therefore, the center of mass that I want
-
is found by taking this sliver of that mass,
-
multiplying by its coordinate and summing over all the slivers,
-
which is what we do by the integral from 0 to L.
-
Then, I should divide by the total mass, which is just M.
-
You can see now if you do this calculation.
-
I get 1 / L;
-
then, I get integral x·dx from 0 to L,