Range of $\frac{\cos\theta_1+\cdots+\cos\theta_{10}}{\sin\theta_1+\cdots+\sin\theta_{10}}$ given $\sin^2\theta_1+\cdots+\sin^2\theta_{10}=1$ 
Given that for $ \theta_i \in \left[0, \dfrac{\pi}{2}\right]$, where $1 \le i \le 10$ , $\sin^2\theta_1+\sin^2\theta_2+\cdots+\sin^2\theta_{10}=1$, find the minimum and maximum value of $$\dfrac{\cos \theta_1+\cos\theta_2+\cdots+\cos\theta_{10}}{\sin\theta_1+\sin\theta_2+\cdots+\sin\theta_{10}}$$

I tried using Cauchy Schwarz inequality which just gives $\displaystyle \sum_{i=1}^{10} \sin\theta_i \le \sqrt{10}$ and $\displaystyle \sum_{i=1}^{10} \cos \theta_i \le \sqrt{90}$ because $\displaystyle \sum_{i=1}^{10}\cos^2\theta_i =9$ but I don't think it would be helpful here.
Maybe some inequality can be applied by writing it as $$\dfrac{\displaystyle \sum_{i=1}^{10} \sqrt{1-\sin^2\theta_i}}{\displaystyle \sum_{i=1}^{10} \sin \theta_i}$$
Any hints would be appreciated!

lower bound:
Notice that $$\cos ^2 \theta_1=\sin^2 \theta_2+\sin^2 \theta_3+\cdots+\sin^2 \theta_{10}$$ similarly $$\cos^2 \theta_i=\sum_{j=1 \rightarrow 10 , j\neq i }\sin^2 \theta_j$$
$$S_i=\sum_{j=1\rightarrow 10,j\neq i} \sin \theta_i \tag {say}$$
thus by power mean inequality
$$\cos \theta_i\ge \sqrt{\frac{S_i^2}{9}}=\frac{S_i}{3}$$ Hence  $$\dfrac{\cos \theta_1+\cos\theta_2+\cdots+\cos\theta_{10}}{\sin\theta_1+\sin\theta_2+\cdots+\sin\theta_{10}}\ge \frac{S_1+S_2+S_3+\cdots+S_{10}}{3(\sin \theta_i+\sin \theta_2+\cdots+\sin \theta_{10})}=\boxed 3$$
Upper bound: see See Hai's beautiful proof!
