A new method of solving the coefficient inverse problem