Abstract
In this paper, a universal computational algorithm is constructed by using $F$ and $G$ series, which can be applied for any of conic orbit. In particular, to find the solution of the two-body problem. In this context, the solution of geocentric system motion of the Mercury planet in the solar system is found using the obtained computational algorithm.