/consecutive-cosines

A console program for calculating the "consecutive cosines" of an angle.

Primary LanguageC++

consecutive-cosines

mathematical theorem

the answer of consecutive cosines function for each angle (in degrees) is close to 1 (approximately 0.99847741)

consecutive-cosines is a recursive function.

f(1, x) = cos(x)
f(2, x) = cos(cos(x))
f(3, x) = cos(cos(cos(x)))
f(4, x) = cos(cos(cos(cos(x))))
...
f(n, x) = cos(f(n-1, x))

More information on Quora.com : what-is-the-value-of-underbrace-cos-cos-cos-cos-x-infty