Wow, that was actually pretty interesting and a good use of trig. I will admit that the more complex derivation was more than I wanted to swallow right now, but the initial solution was very interesting.
Abusive comment hidden.
(Show it anyway.)