5. Given: $\frac{\cot ^{2000} \theta+2}{\sin \theta+1}=1$, then the value of $(\sin \theta+2)^{2}(\cos \theta+1)$ is
A. 9
B. 8
C. 12
D. Uncertain
5. A $\frac{\cot ^{2000} \theta+2}{\sin \theta+1} \geqslant 1$, when $\sin \theta=1, \cot \theta=0$, i.e., $\theta=2 k \pi+\frac{\pi}{2}(k \in \mathbf{Z})$ the equality holds.