For an exercise I am working with the function $f(x) = e^{6x} + 3(ln2)^2e^{2x} - (ln8)e^{4x} - (ln2)^3$. First I need to use Newton's method with $p_0 = 0$ to approximate a zero of f, which I did not have a problem doing.
The second part of the questions asks me to construct the sequence $\{\hat p_n\}$ using Aitken's method. I am kind of confused as to what exactly I need to do here. I know for each iteration of Aitken's I need to have 3 values: $p_n, p_{n+1}, p_{n+2}$. How do I obtain these? Do I just plug in numbers like $0, 1, 2...$ into the function to obtain the p values? For example would $p_4 = f(4)$ give me what I need? I don't think so because I've tried this and it appears to diverge. I've also been trying to solve this using Python and my program currently doesn't converge. Do I need to somehow integrate Aitken's method with Newton's method?
Any help would be appreciated.