nsolve x^2 (x + 1) =1/x