Use Maxwell's equations,
∇⋅E=ρ,∇⋅B=0,∇×E=−∂t∂B,∇×B=J+∂t∂E
to derive expressions for ∂t2∂2E−∇2E and ∂t2∂2B−∇2B in terms of ρ and J.
Now suppose that there exists a scalar potential ϕ such that E=−∇ϕ, and ϕ→0 as r→∞. If ρ=ρ(r) is spherically symmetric, calculate E using Gauss's flux method, i.e. by integrating a suitable equation inside a sphere centred at the origin. Use your result to find E and ϕ in the case when ρ=1 for r<a and ρ=0 otherwise.
For each integer n⩾0, let Sn be the sphere of radius 4−n centred at the point (1−4−n,0,0). Suppose that ρ vanishes outside S0, and has the constant value 2n in the volume between Sn and Sn+1 for n⩾0. Calculate E and ϕ at the point (1,0,0).