Consider the function defined by
Determine whether the sequence converges or diverges, and if it converges find the limit.
To show is convergent we will use the squeeze theorem to determine its limit. First we note
for all (since if is odd and if is even). Since
by the squeeze theorem we have