Density of a spherical planet of radius R is given by ρ=ρ0(1+rR) where r is distance from center of planet, then