Schr(?)dinge's wave equation is solved in Thomas-Fermi potentialincluding the self-interaction modification of elctrons for arbi-trary matter density and temperature. In order to describe rela-tivistic effects,the mass-velocity correction,the Darwin correc-tion and the spin-orbit coupling terms are included in the waveequation.Calculations are presented for the Fe26and Rb37atomsat a few temperatures and matter densities.Comparisons of pre-sent results with other more accurate one are given in Table.The data obtained by the present method are not bad.