The fraction 1 over cos theta divided by the fraction 1 over sin theta
This is (1/cos θ)/(1/sin θ) = (1/cos θ)*(sin θ/1) = sin θ/cos θ = tan θ
.