A numerical solution of some direct and inverse problem of electrodynamicseстатья