Mean value theorem :
\Let
be a function that satisfies the following three hypotheses.
1.
is continuous on
.
2.
is differentiable on
.
Then there is a number
in
such that
.
Consider the function is
.
The function
is continuous on
.
Differentiate
on each side with respect to
.
.
The function
is differentiable on
.
Then
.
The range of the cosine function is
.

From the mean value theorem,
\
Substitute
in above expression.


Substitute
in above expression.

.