Answer to electric dipole physics problem