A rectangle with one side on the $x$-axis has its upper vertices on the graph of $y = \cos x$. What is the minimum area outside the rectangle but under the graph of $y$?
My work so far
I was thinking of just dealing with $[0,\frac{\pi}{2}]$
Then I would need to just deal with one vertice. Then, let $A\left(x\right)$ be the area of the rectangle inside. When is $A\left(x\right)$ largest?
I think that $A\left(x\right) =x * \cos(x)$ length*height
$A^{\prime}\left(x\right) = \cos\left(x\right) - x\sin\left(x\right)$
How to find the values when $A^{\prime}\left(x\right)=0$ Thanks gt6989b
So $\approx 0.860$
Thus the shaded area will be $2[1-0.860\cos\left(0.860\right)]\approx 0.877$