The linear density of a thin rod is given by p =cx, where c is a constant and x is the distance
measured from one end. If the rod is of length b, find the center of mass.
The center of mass by definition