cos2B/(1-sin2B) could then be converted to (cos^2B-sin^2B)/(1-2sinBcosB)
Start w/ that equation.
cos^2(B) - sin^2(B) (Eq 1)
-----------------------
1-2sin(B)cos(B)
We know:
sin^2(B) + cos^2(B) = 1 (Trig identity)
Therefore:
1 - 2sin(B)cos(B) = [sin^2(B) + cos^2(B)] - 2sin(B)cos(B) (Eq 2)
You can now take the square root of the side on the right.
sin^2(B) - 2sin(B)cos(B) + cos^2(B) = [sin(B) - cos(B)]^2 = [cos(B) - sin(B)]^2 (Binomial Square Theorem)
We now substitute our new Binomial Square into equation 1
cos^2(B) - sin^2(B) (Eq 3)
-----------------------
[cos(B) - sin(B)]^2
Now by Difference of Squares (a - b)*(a + b) = a^2 - b^2
cos^2(B) - sin^2(B) = [cos(B) + sin(B)]*[cos(B) - sin(B)] (Eq 4)
Sub'ing Eq 4 into Eq 3, we get:
[cos(B) + sin(B)]*[cos(B) - sin(B)] (Eq 5)
--------------------------------------
[cos(B) - sin(B)]^2
We see that one term of [cos(B) - sin(B)] cancels, and are left with
cos(B) + sin(B) (Eq 6)
-----------------
cos(B) - sin(B)
And I'm working on the rest.