Spatial Distribution of Potential Created by an External Perturbation in Pd and PdH