C'mon. If you are at this level you are betting than this. Apply yourself! To find a max or min you take the derivative and set it equal to 0. As for the function:
So, for example, you are trying to find the minimum of:
Setting this equal to 0 givesor R = 0. (If all you care about is the variation of (theta) then ignore the R = 0 possibility, though it really can potentially affect the final answer.)
Use the second derivative test to decide if n is even or odd. The proof using the maximum is not much more complicated.
-Dan

