Repulsive Energies and their Applications