(a)
\Let
, where
is a continuous function.

Consider
.

Here
.
.
If
, then
.

From theorem 3, If
is an integer then
.
.
Thus,
.
(b)
\Consider
and
.
.
.
By repeatedly pressing the cosine key on the calculator untill the displayed value stabilizes.
\
.
(a)
.
(b)
.