Application of the conjugate gradient and steepest descent for computing the eigenvalues of an operator