The mass density of a planet of radius R varies with the distance r from its center as ρ(r)=ρ01-r2R2 . Then the gravitational field is maximum at :
r=13R
r=59R
r = R
r=34R
For points inside the planet, at distance r from the center r<R, g is given by
E=G Menclosedr2here Menclosed=∫0rρdV=∫0rρ01-r2R24πr2dr⇒E=G∫0rρ01-r2R24πr2drr2⇒E=Gρ04πr3-r35R2 For maxima, dEdr=0⇒ddrGρ04πr3-r35R2=0⇒ddrr3-r35R2=0∴13-3r25R2=0⇒r=59R