I need to prove that the equation $x+\ln x=5$ has at least one root, and to find that root in precision of two digits after the decimal point.
I know how to prove the root's existence using the intermediate value theorem:
I defined $f(x)=x+\ln x-5$, and $f(1)=-4<0$ and $f(e^5)=e^5>0$ so the root exists.
I don't know how to find it, and how to prove that the precision is good enough.
A tighter bound follows from $f(3)=\ln 3-2<\ln(e^2)-3<0$ and $f(4)=\ln 4-1>\ln e-1=0$.
To find the root $x^*\in(3,4)$, you could rewrite as $x=5-\ln x$ and so motivate the recursion $x_{n+1}=g(x_n)=5-\ln x_n$ and hope that this converges quickly to the fixpoint $x^*$ of $g$. From $g'(x)=-\frac1x<0$ (and $>-\frac13$) for $x\in (3,4)$, it follows with $$x_{n+1}-x^*=g(x_n)-g(x^*)=(x_n-x^*)\cdot g'(\xi), $$ that the sequence $x_n$ alternates between too big and too small. So as soon as two consecutive terms agree to two digits, we have found the desired result. Start with $x_0=3$, say and apply the recursion six times to find a good enough approximation of $x^*$.