calculate the force between three charges