the magnetic field at point P will be zero when