The expression is
.
.
Let
in the interval
.
Let
in the interval
.
.
Sum formula of cosine function:
.
.
\
Find
.


\
From Pythagorean theorem,
\The square of the hypotenuse is equal to sum the squares of the other two sides.
\


.
\
Find
.
Consider
.
.
From Pythagorean theorem,
\The square of the hypotenuse is equal to sum the squares of the other two sides.
\
.
\
.
Substitute
,
,
and
.



, where
and
.
, where
and
.