Find the electric field of a solid sphere of charge, with the nonuniform charge density ρ = Ar, with A an overall constant.
Find the total charge on the sphere in terms of A and radius R. Now find an expression for the electric field inside and outside the sphere of charge.