I have the following exponential equation: $2^x = 5 + x$ Can anyone help to solve it?
With Thanks
I have the following exponential equation: $2^x = 5 + x$ Can anyone help to solve it?
With Thanks
Taking the derivative of $2^x-x-5$,
$$\ln2\,2^x-1,$$ reveals the existence of a minimum, at $x=-\dfrac{\ln(\ln2)}{\ln2}$. As the ordinate of this minimum is negative, there are two roots.
By inspection, one is $x=3$ and we can infer that there must be one close to $x=-5$, as $2^{-5}$ is small.
After one iteration of Newton's method, we get
$$x\approx-5-\frac1{\ln 2-32}=-4.9680581115653\cdots$$
It is such that $f(x)<10^{-5}$.