Theoretical studies of the optical properties of plasmon resonance on silver nanoparticles in the near-field optics