Abstract
In this paper, we propose a direct method to obtain an exact solution of the Thomas-Fermi equation. An approximate analytic solution is also obtained, which demonstrates to be quite accurate by comparison with the Sommerfeld, numerical and variational solutions.