Answer
Yes, Cavendish contributed to the law governing electrical attraction and repulsion. He was one of the first scientists to measure the electrical force between two charged objects. He also showed that the force between two charged objects is proportional to the product of their charges and inversely proportional to the square of the distance between them. This is known as Coulomb's law.