I noticed a strange thing with my calculator.
When I start with any number like 1,2,3 or 1.2, 1.34 .... or even 0.
And repeatedly take the cosine function of this number.
I get the same following number. I don't thing this is a coincidence since it's happening with any number I try.
0.99984774153108811295981076866798
It's pretty astonishing the accuracy this number has. I wouldn't have asked this question if only only few 4 or 5 decimals of every number matched but it's it's 32 decimal places I get for every number I try.
You got to try it yourself to believe it.
I want to know if there's a reason behind this? And why don't other functions like sine or tangent show similar properties?
Note that the calculator is set to degrees.
Your calculator must be operating in degrees. Since $0.9998\ldots$ degrees is very close to $0$ (being less than $1/90$ of the way from $0$ radians to $\pi/2$ radians), its cosine must be very close to $1$. What you are finding is the fixed point of the function $\cos \theta$, where $\theta$ is expressed in degrees—that is, the number of degrees $\theta$ where
$$ \theta = \cos \theta $$
Here's a graphical depiction of $\theta$ and $\cos \theta$ (with $\theta$ expressed in degrees). The fixed point is the intersection of these two curves:
Since it's difficult to see this intersection at the above scale, here it is zoomed in, and you'll see that the intersection occurs very close to $(1, 1)$; in fact, it is $(0.9998\ldots, 0.9998\ldots)$, as you discovered: