2) a).
First, we need to find the total charge on the sphere.
b)
We can solve for in part a) and find that
To find the magnitude of the electric field, we use Gauss' Law.
From part a), the amount of charge enclosed inside a radius r is
given by
So, plugging this in for Qenclosed, we have
Substituting in what we found for , we find that