Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@SF.: According to the "Shell Theorem", any spherically symmetrical body is equivalent to a point source of the same mass, if you are outside of it. (Inside, the apparent mass of the point source changes.)