show that the centre of a rod of mass M and length L lies midway between the ends assuming that the rod has uniform cross section per unit length​