$ m = pi * r^3 * p $
m = πr³ρ
(with no disrespect to your use of TeX)
But also it should be m = (4/3)πr³ρ because the volume of the sphere is (4/3)πr³, not πr³.
m = (¾)⁻¹πr³ρ
Reply on news.ycombinator.com