A numerical approximation to weak electromagnetic scattering