Fig. 6.4 shows a wire of length L having cross sectional area A and uniform density p.
We can take ‘dL length to find d m as

dm = Pa dL
From equation (6.2), we have
x = ʃ x dL / L , y = ʃ y dL / L , z = ʃ z dL / L
Note that for a curved line C may not lie on the line, where C is the centroid.