The potential at the surface of a sphere of radius R is given by V = kcos^2(x) where k is constant. Find the potential inside and outside the sphere as a function of r and x (assuming there is no charge inside or outside the sphere). Hint: Write cos^2(x) in terms of Legendre polynomials.