We give two methods of approximation of a solution of an infinite linear system. First, we will construct a sequence of finite matrices which approaches a solution, this one being defined by an infinite sequence. Then, we will apply these results to the continued fractions.