Calculation of net force on charges