Charge is distributed throughout a spherical volume of radius R with a density where is a constant. Determine the electric field due to the charge at points both inside and outside the sphere.
Credit: University Physics Volume 2 by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit db44eb99e9aa1d918fd8cf182f82ccdece9c7b11.