If $\left(\frac{\cos \theta+i \sin \theta}{\sin \theta+i \cos \theta}\right)^{2024}+\left(\frac{1+\cos \theta+i \sin \theta}{1-\cos \theta+i \sin \theta}\right)^{2025}=x+i y$ then the value of $x+y$ at $\theta=\frac{\pi}{2}$ is
- A
1
- B
-1
- C
2
- D
2024
✓ Correct answer: C
Want the full step-by-step reasoning?