Calculation of Net Electric Field or Charge