A sphere of radius R consists of linear materials of dielectric constant k. Embedded in the sphere is a free-charge density p = kr, where k is constant and r is the distance from the sphere's center.
a. Find E inside the sphere.
b. Find E outside the sphere.