(a)
\The function is
.
Apply derivative on each side with respect to
.

.
To find the slope
of the tangent line at
, evaluate
.
Substitute
in
.

.
The slope of the tangent line of function
is
.
Number of complete cycles in the interval
is
.
(b)
\The function is
.
Apply derivative on each side with respect to
.

.
To find the slope
of the tangent line at
, evaluate
.

.
The slope of the tangent line of function
is
.
Number of complete cycles in the interval
is 
The slope of the tangent line of
at the origin is
.
(a) The slope of the tangent line of function
is
.
(b) The slope of the tangent line of function
is
.
The slope of the tangent line of
at the origin is
.