To find the value of \(\alpha\) for which the given integral equation holds true, let us first analyze the integrals involved:
The given equation is:
\(\int^{\frac{\pi}{2}}_0f(\sin(2x))\sin(x)\,dx + \alpha\int^{\frac{\pi}{4}}_0f(\cos(2x))\cos(x)\,dx = 0\)
To solve these integrals, we perform substitution and simplification:
Now, substituting these insights back in the given condition leads to a simplified form of expressions potentially simplified due to symmetry, leading to finding analytic matches between these related terms.
Thus, ultimately we find that balancing these structures when re-equated leads from compute or bypass symmetry integrals:
The expression simplifies to find that they should have \(\alpha = -\sqrt{2}\), maintaining equation equilibrium due to expanding symmetry and transformations.
Hence, the correct value of \(\alpha\) is -√2.
If the value of the integral
\[ \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \left( \frac{x^2 \cos x}{1 + \pi^x} + \frac{1 + \sin^2 x}{1 + e^{\sin^x 2023}} \right) dx = \frac{\pi}{4} (\pi + a) - 2, \]
then the value of \(a\) is: