what are the two general rules with electrical charges of opposite and like charges
Coulomb's law where ke is Coulomb's constant (ke = 7009898750000000000♠8.9875×109 N m2 C−2), q1 and q2 are the signed magnitudes of the charges, and the scalar r is the distance between the charges. The force of the interaction between the charges is attractive if the charges have opposite signs (i.e., F is negative) and repulsive if like-signed (i.e., F is positive).