Untitled

is cosine/tangent/sine positive or negative of the quadrant of the theta/2. Positive then add, negative then subtract.

https://www.youtube.com/watch?v=p0eUiNKcOcU