Effect of ionic potentials of metals on perturbation of the aromatic system of benzoic acid