# volumetric density from linear densities in the three directions x,y,z

I have a cube and I know the linear density of particles along each axis (I mean- the number of particles per unit length along each axis). How can I get the volumetric density?

• Even if $\rho_x=\rho_x(x)$ and so on? – JBach Jun 15 '19 at 22:25