It is given that a straight rod has one end at the origin (that is (0,0)) and the other end at the point (L,0) and a linear density given by
, where a is a known constant and x is the x coordinate.
Therefore, the infinitesimal mass is given as:

Therefore, the total mass will be the integration of the above equation as:

Therefore,
![m=a\int\limits^L_0 {x^2} \, dx=a[(x^3)/(3)]_(0)^(L)=(a)/(3)[L^3-0]= (aL^3)/(3)](https://img.qammunity.org/2019/formulas/mathematics/college/bq33ht3c5cisb5o3qc1abtvxf7ad2uptnh.png)
Now, we can find the center of mass,
of the rod as:


Now, we have
x_{cm}=\frac{1}{\frac{aL^3}{3}}\int_{0}^{L}ax^3dx=\frac{3}{aL^3}\times [\frac{ax^4}{4}]_{0}^{L}
Therefore, the center of mass,
is at:
![(3)/(aL^3)* [(ax^4)/(4)]_(0)^(L)=(3)/(aL^3)* (aL^4)/(4)=(3)/(4)L](https://img.qammunity.org/2019/formulas/mathematics/college/ibe88lu59c0gonrp4e9yjlul7otl9dwdz6.png)