No matter what number you start with, if you press the cos key on a calculator repeatedly, the numbers eventually quit changing.Starting with iteration 90, the code prints 0.7390851332151607 every time.The iteration converges for any starting point between 0 and 1.The rate of convergence is more like sin(p)k near the fixed point.