given f(x)=c where c is a real valued constant f(x)=cos(x) when mod(x)<=1 and f(x)=cos(x)+(x^2-1)^2 when mod(x)>=1

for a given c show that x(n)=(-1)^n, where x(0)=1

also discuss the convergence of this approximation

i applied the newton raphson method but not getting anywhere near x(n)=(-1)^n