Application of the Green Function Method for Calculating the Spatial Distribution of Electrons in the Finite System. (December 2020)