$${\rho = \frac{Am}{\frac{4}{3} \pi r^3}}$$