Currently, I am following a numerical methods course. I came across the following question on an old exam, and don't know how to approach it:
We have the function $f(x)=e^{-x} -5x+10$.
First, I had to calculate $x_2$, while given that $x_0$ =2.0 and $x_1$=2.1. This is just filling in the secant formula, where I obtained that $x_2$ = 2.02639...
The error of $x_2$ = $(x_2$-$x_1$)/$x_2$ = 0.03632698
Now the next question is where I am stuck: "How many iterations are needed to obtain an accuracy of $1.0^{-9}$?".
I know that the convergence factor of the Secant Method is the golden ratio, so it is converging faster than first order, but less fast than a second-order method. I have come across similar questions using the Bisection method instead of the Secant Method. Using the bisection method, we half the interval after every iteration, so we could solve the equation
$(1/2)^{n}*error$ $(x_2)$ $<1.0^{-9}$, where n denotes the amount of iterations.
Is there also such an equation I can use for the Secant method? Does it have anything to do with the factor $1/2$ that should be replaced by the golden ratio?
Thanks