(a) Volume. The cross-section is constant, so V=(cross-section area)⋅(length)=0.1⋅3=0.3 m3.
(b) Mass. A slice of thickness dx has volume 0.1dx and mass dm=ρ(x)⋅0.1dx:
m=∫030.1(x+1)dx=0.1[2x2+x]03=0.1(29+3)=0.75 kg.
(c) Centre of mass.
xcm=m∫03xρ(x)0.1dx=0.750.1∫03(x2+x)dx=0.750.1(9+29)=0.750.1⋅13.5=1.8 m.
The centre of mass is shifted towards the denser end, as expected.
V=0.3 m3,m=0.75 kg,xcm=1.8 m