$g(x)=(2/3)(\cos x-\sin x)$
$x_n=g(x_{n-1})$
with initial guess $x_0=1$
I need to compute for n= 0,1,...,8
When I try it, my sequence diverges: $x_1=-0.20078$, $x_2=0.78623$, $x_3=-0.00079$, etc...
In a following question, I'm meant to compare it to Aitken's and see which one converges faster but it's not converging at all.

