I have been looking into dark matter recently, and I have three questions. When calculating what the gravitational pull of an object should be, do they account only for the mass of that object, or do they account for the total energy of that object? For example, a star will have a lot of mass, but it will also have tons of gravitational potential energy, kinetic energy, and other energy. It seems to me like this energy, especially the gravitational potential energy, should be extremely large. Another question I have is about the shape of the supposed cluster of dark matter that surrounds galaxies. Is it predicted to be a filled-in sphere of matter? Why would it exhibit that shape when it is attracted to matter, like stars - shouldn't it nearly model the visible galaxy's shape? The last question (or idea) I have is concerning the gravitational effects of dark energy. Since this sort of energy is inherent everywhere, and energy is attracted to matter, shouldn't this energy be more dense within galaxies? I doubt this question is very answerable, but I am curious. Thanks!