For \( 0 < a < 1 \), the value of the integral \[ \int_{0}^{\frac{\pi}{2}} \frac{dx}{1 - 2a \cos x + a^2} \] is:
If the roots of the quadratic equation \( ax^2 + bx + c = 0 \) are real and equal, then: