solve log x = 2-x by newton-raphson starting at x=2