Problem asked by Dinesh

Evaluate $ \int_0^{\frac{\pi}{2}} \frac{x \; dx}{a^2 \cos^2 x + b^2 \sin^2 x} $

Answer: