How do you rationalize the numerator for sqrt(cosx/sinx)?