What law states that unlike charges attract each other while like charges repel each other?

http://www.regentsprep.org/Regents/physics/phys03/acoulomb/default.htm

The law that relates to the interaction between electric charges is called Coulomb's Law. It states that unlike charges attract each other, while like charges repel each other. Coulomb's Law mathematically describes the magnitude of the electrostatic force between two point charges. It is stated as:

F = k(q1 * q2) / r^2

Where:
F is the magnitude of the electrostatic force,
k is the electrostatic constant (also known as Coulomb's constant) which has a value of approximately 9 * 10^9 N·m^2/C^2,
q1 and q2 are the magnitudes of the charges,
r is the distance between the charges.

To understand Coulomb's Law, you can follow these steps:

1. Identify the magnitudes of the two charges involved. Let's say q1 is the magnitude of charge 1 and q2 is the magnitude of charge 2.

2. Determine the distance between the two charges. Let's call this distance 'r'.

3. Calculate the product of q1 and q2, which means multiplying the magnitudes of the charges together. The result will be q1 * q2.

4. Square the value of the distance 'r'. This can be done by multiplying 'r' by itself, resulting in r^2.

5. Multiply the product of q1 and q2 (from step 3) by the electrostatic constant 'k'.

6. Divide the result obtained in step 5 by the squared value of the distance (from step 4). This will give you the magnitude of the electrostatic force between the charges.

Remember, Coulomb's Law is based on experimental observations and helps us understand and predict the behavior of electric charges.