The density within of sphere so that gravity is constant

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
richard7893
Messages
17
Reaction score
0

Homework Statement


If the gravitational field vector g inside a sphere is independent of the
distance from the center of the sphere r, how does the density ρ(r) of the
sphere vary as a function of r?


Homework Equations


gauss' law for gravity: integrate g*da=4*pi*G integrate ρ(r) dv



The Attempt at a Solution


So far i have g=contant= (a/r^2) integrate 0 to r r^2 dr I am not sure what to do next.
 
Physics news on Phys.org
If the field vector g inside is constant with respect to radii, then you can pull it outside the integral for Gauss's law as long as your gaussian surface is a sphere. So you get [tex]g\oint_{dS}dA = -4\pi GM[/tex] The integral is just the surface area of the sphere you have, so [tex]g(4\pi r^2)=-4\pi GM[/tex] Can you figure it out from there?