I am attempting to evaluate
$\lim_{x\to 0} [\sin^2(\frac{\pi}{2-px})]^{\sec^2(\frac{\pi}{2-qx})}$ where $p,q\in \Re$
This is the $1^\infty$ form. We have a general formula for this indeterminate form-
$\lim_{x\to a}f^g$ where $f\to 1$ and $g\to \infty$ is equal to $e^{\lim_{x\to a}g(f-1)}$
On using the formula, the problem becomes
$\large e^{\lim_{x\to 0} [\sin^2(\frac{\pi}{2-px})-1]{\sec^2(\frac{\pi}{2-qx})}}$
$\large e^{\lim_{x\to 0} [-\cos^2(\frac{\pi}{2-px})]{\sec^2(\frac{\pi}{2-qx})}}$
$\large e^{\lim_{x\to 0} \frac{-\cos^2(\frac{\pi}{2-px})}{\cos^2(\frac{\pi}{2-qx})}}$
How do I proceed further? Any other methods to solve such a problem are welcome.